aboutsummaryrefslogtreecommitdiff
path: root/graphics/psftools/psftools.SlackBuild
diff options
context:
space:
mode:
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" \