summaryrefslogtreecommitdiff
path: root/games/bstone/bstone.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/bstone/bstone.SlackBuild')
-rw-r--r--games/bstone/bstone.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/bstone/bstone.SlackBuild b/games/bstone/bstone.SlackBuild
index da7b326267..0cd4450a5c 100644
--- a/games/bstone/bstone.SlackBuild
+++ b/games/bstone/bstone.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191127 bkw: update for v1.1.14. datadir.diff had to change so we can't
+# build old versions any more.
+
# 20170921 bkw: update for v1.1.9.
# 20170807 bkw: update for v1.1.8, use upstream's icon instead of mine.
@@ -13,7 +16,7 @@
# 20170621 bkw: fix build on -current
PRGNAM=bstone
-VERSION=${VERSION:-1.1.9}
+VERSION=${VERSION:-1.1.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,11 +56,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$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 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 {} \+
# look in /usr/share/games/bstone for game data files, not the
# directory the executable lives in. the --data_dir option can