aboutsummaryrefslogtreecommitdiff
path: root/graphics/psftools/psftools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-02-19 19:12:27 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-27 08:24:34 +0700
commit992c212a2d7b5e29992d1015a3f1a3b0eee63666 (patch)
tree2eab5e87b4d6795fca80f1c4c0cbe3523f81998f /graphics/psftools/psftools.SlackBuild
parent34eec1f7cbc4a2f7c4d32b5b1985334cad252212 (diff)
graphics/psftools: Updated for version 1.1.1.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/psftools/psftools.SlackBuild')
-rw-r--r--graphics/psftools/psftools.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild
index a490a80637ea8..1167b8bbe49c8 100644
--- a/graphics/psftools/psftools.SlackBuild
+++ b/graphics/psftools/psftools.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210219 bkw: updated for v1.1.1
# 20201208 bkw: updated for v1.0.14
# 20191129 bkw: updated for v1.0.13
@@ -18,7 +19,7 @@
# - expand the README since it was a bit too terse
PRGNAM=psftools
-VERSION=${VERSION:-1.0.14}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,11 +59,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -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 {} \+
# --docdir not supported
CFLAGS="$SLKCFLAGS" \