summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2021-10-12 08:31:53 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:52:45 +0200
commit2c4410e30a302c8def3ded227b07faf6fed65cea (patch)
tree860ee5ae50f25c2331d03ebb1eb3cb5920b213a0
parent928d26f788f1f1ba84ac36a963da702246ae2faf (diff)
downloadslackbuilds-2c4410e30a302c8def3ded227b07faf6fed65cea.tar.gz
perl/perl-xml-parser-lite-tree: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--perl/perl-xml-parser-lite-tree/README8
-rw-r--r--perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild10
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 \