From b8e9f2a05ba25bad6a40e30150b4f1654029e380 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 12 Oct 2021 02:29:08 -0400 Subject: perl/perl-xml-fast: Remove template comment. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- perl/perl-xml-fast/perl-xml-fast.SlackBuild | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'perl') diff --git a/perl/perl-xml-fast/perl-xml-fast.SlackBuild b/perl/perl-xml-fast/perl-xml-fast.SlackBuild index 832fc52240..5e0c0249d3 100644 --- a/perl/perl-xml-fast/perl-xml-fast.SlackBuild +++ b/perl/perl-xml-fast/perl-xml-fast.SlackBuild @@ -22,9 +22,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 @@ -59,11 +56,8 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$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 \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ perl Makefile.PL \ PREFIX=/usr \ @@ -72,13 +66,11 @@ perl Makefile.PL \ make make test make install DESTDIR=$PKG +gzip $PKG/usr/man/man3/* find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -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 - find $PKG -name perllocal.pod \ -o -name ".packlist" \ -o -name "*.bs" \ -- cgit v1.2.3