summaryrefslogtreecommitdiffstats
path: root/games/bstone/bstone.SlackBuild
diff options
context:
space:
mode:
author B. Watson2019-11-27 20:20:06 +0100
committer Willy Sudiarto Raharjo2019-12-15 11:06:18 +0100
commitd4e93bf15f10ea69fa3ad63ccca13bff23addd72 (patch)
tree29a5240e3b9475b805acdee1fd722c8d0e030885 /games/bstone/bstone.SlackBuild
parent3057f2f851d34b0efba097e3141dd6953fe71334 (diff)
downloadslackbuilds-d4e93bf15f10ea69fa3ad63ccca13bff23addd72.tar.gz
games/bstone: Updated for version 1.1.14.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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