aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-12 02:26:37 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:45 +0700
commit383818366e77be70f69d8d0d380363615b56de13 (patch)
treec19d247d00ef03448928d20f440c8d106415b4f1 /perl
parent691012eedd2ecedc2903aabb02f0cf431775e485 (diff)
perl/perl-palm-pdb: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-palm-pdb/README7
-rw-r--r--perl/perl-palm-pdb/perl-palm-pdb.SlackBuild10
2 files changed, 6 insertions, 11 deletions
diff --git a/perl/perl-palm-pdb/README b/perl/perl-palm-pdb/README
index ba9ff80113d3b..0342bc4d78719 100644
--- a/perl/perl-palm-pdb/README
+++ b/perl/perl-palm-pdb/README
@@ -1,5 +1,6 @@
perl-palm-pdb (modules for PalmOS database files)
-This distribution contains Palm::PDB and Palm::Raw, a pair of Perl 5
-modules for reading, manipulating, and writing the .pdb and .prc database
-files used by PalmOS devices such as the PalmPilot and its successors.
+This distribution contains Palm::PDB and Palm::Raw, a pair of Perl
+5 modules for reading, manipulating, and writing the .pdb and .prc
+database files used by PalmOS devices such as the PalmPilot and its
+successors.
diff --git a/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild b/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild
index ba53f87315b2a..8bd9a996c1919 100644
--- a/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild
+++ b/perl/perl-palm-pdb/perl-palm-pdb.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 \