From 2c4410e30a302c8def3ded227b07faf6fed65cea Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 12 Oct 2021 02:31:53 -0400 Subject: [PATCH] perl/perl-xml-parser-lite-tree: Remove template comment. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- perl/perl-xml-parser-lite-tree/README | 8 ++++---- .../perl-xml-parser-lite-tree.SlackBuild | 10 ++-------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/perl/perl-xml-parser-lite-tree/README b/perl/perl-xml-parser-lite-tree/README index 3baf577479..f5bb225197 100644 --- a/perl/perl-xml-parser-lite-tree/README +++ b/perl/perl-xml-parser-lite-tree/README @@ -1,6 +1,6 @@ perl-xml-parser-lite-tree (XML tree parser module) -This is a singleton class for parsing XML into a tree structure. How does -this differ from other XML tree generators? By using XML::Parser::Lite, -which is a pure perl XML parser. Using this module you can tree-ify -simple XML without having to compile any C. +This is a singleton class for parsing XML into a tree structure. +How does this differ from other XML tree generators? By using +XML::Parser::Lite, which is a pure perl XML parser. Using this module +you can tree-ify simple XML without having to compile any C. diff --git a/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild b/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild index eecbc9e627..40a2d503e8 100644 --- a/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild +++ b/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild @@ -16,9 +16,6 @@ PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# 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 @@ -39,11 +36,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 \