summaryrefslogtreecommitdiffstats
path: root/games/domination/domination.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/domination/domination.SlackBuild')
-rw-r--r--games/domination/domination.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild
index d161d8e671..82644667a0 100644
--- a/games/domination/domination.SlackBuild
+++ b/games/domination/domination.SlackBuild
@@ -9,11 +9,15 @@
# See README_SBo.txt for more info on this script (I wrote too many
# comments, moved them to a separate file).
+# 20210310 bkw: updated for v1.2.3.
+# 20200928 bkw: updated for v1.2.2.
+# 20200307 bkw: updated fov v1.2.1.
+# 20191202 bkw: updated for v1.2.0.
# 20161030 bkw: whoops, this should have been noarch to begin with.
PRGNAM=domination
-VERSION=${VERSION:-1.1.1.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -33,11 +37,8 @@ rm -rf $SRCNAM
unzip $CWD/${SRCNAM}_$VERSION.zip
cd $SRCNAM
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 {} \+
# We don't need Windows exes or OSX app bundles. Or the source. Or
# in fact upstream's wrapper scripts (we include our own).