summaryrefslogtreecommitdiffstats
path: root/system/alien/alien.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-04-02 16:00:05 -0400
committer B. Watson <yalhcru@gmail.com>2022-04-02 16:00:05 -0400
commit522402dec915942943f56463f25a3d30757ec095 (patch)
treefb6e0e2c3dbe44bd88efa41a707f1ff6eacae25a /system/alien/alien.SlackBuild
parentd4780efdd5c54a0136f574e7b55c1d97e3406899 (diff)
downloadslackbuilds-522402dec915942943f56463f25a3d30757ec095.tar.gz
slackbuilds-522402dec915942943f56463f25a3d30757ec095.tar.xz
system/alien: Remove perllocal.pod.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/alien/alien.SlackBuild')
-rw-r--r--system/alien/alien.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/alien/alien.SlackBuild b/system/alien/alien.SlackBuild
index 95d499f56d..ebec4a1211 100644
--- a/system/alien/alien.SlackBuild
+++ b/system/alien/alien.SlackBuild
@@ -16,11 +16,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# 20220402 bkw: Modified by SlackBuilds.org, BUILD=2: remove perllocal.pod
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=alien
VERSION=${VERSION:-8.95}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -32,9 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,9 +68,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
perl Makefile.PL \
PREFIX=/usr \
@@ -85,6 +84,7 @@ make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+rm -f $PKG/usr/lib*/perl5/perllocal.pod
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION