summaryrefslogtreecommitdiffstats
path: root/games/domination/domination.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2019-12-02 13:06:48 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:25 +0700
commit1cded8004cdc6055cb70dc7716becf899da8ee4d (patch)
tree0a769f942eadcb10398afa7c7bf774007042f281 /games/domination/domination.SlackBuild
parent215c2437e16488fb61411c13be3b262bd75d9d0a (diff)
downloadslackbuilds-1cded8004cdc6055cb70dc7716becf899da8ee4d.tar.gz
slackbuilds-1cded8004cdc6055cb70dc7716becf899da8ee4d.tar.xz
games/domination: Updated for version 1.2.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/domination/domination.SlackBuild')
-rw-r--r--games/domination/domination.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild
index d161d8e671..fd79e5d14c 100644
--- a/games/domination/domination.SlackBuild
+++ b/games/domination/domination.SlackBuild
@@ -9,10 +9,11 @@
# See README_SBo.txt for more info on this script (I wrote too many
# comments, moved them to a separate file).
+# 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}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -33,11 +34,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).