aboutsummaryrefslogtreecommitdiff
path: root/games/odamex/odamex.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-01 13:13:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:24 +0700
commit715c315af1ada272bdc500b2365ce15067831641 (patch)
tree0fc109be1ed5852c8ee893558ffa6cbf6b9e1071 /games/odamex/odamex.SlackBuild
parent5cb320cfa56fd9aa221d2f5d4fef997a562ac949 (diff)
games/odamex: Updated for version 0.8.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/odamex/odamex.SlackBuild')
-rw-r--r--games/odamex/odamex.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild
index 5b02579e11..343e24968b 100644
--- a/games/odamex/odamex.SlackBuild
+++ b/games/odamex/odamex.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191201 bkw: update for v0.8.1.
+
# 20140910 bkw:
# - explicitly use the correct config script for wx, instead of relying
# on /usr/bin/wx-config
@@ -19,8 +21,8 @@
# - include sample orasrv.cfg from 0.6.4 source (it's gone from 0.7.0)
PRGNAM=odamex
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -67,11 +69,8 @@ rm -rf $PRGNAM-src-$VERSION
tar xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2
cd $PRGNAM-src-$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 {} \+
# Make the launcher look in /usr/games for the odamex binary rather
# than the current directory. User can override with the settings