aboutsummaryrefslogtreecommitdiff
path: root/games/colem/colem.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-02 14:53:33 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:26 +0700
commit2290ca8d0339d79077b7d10a526c994e64a92edd (patch)
tree04bb7834165f0f95a32b1139e296d1cd9c6d5c16 /games/colem/colem.SlackBuild
parente7f198747f335564c4e0f04ef02df3625b9f29f2 (diff)
games/colem: Updated for version 4.8.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/colem/colem.SlackBuild')
-rw-r--r--games/colem/colem.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/colem/colem.SlackBuild b/games/colem/colem.SlackBuild
index e6d89d3554f5..8ad506b422da 100644
--- a/games/colem/colem.SlackBuild
+++ b/games/colem/colem.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191202 bkw: updated for 4.8.
# 20180619 bkw: updated for 4.6.
# 20171218 bkw: updated for 4.2.
@@ -57,7 +58,7 @@
# with OSS modules disabled by default.
PRGNAM=colem
-VERSION=${VERSION:-4.6}
+VERSION=${VERSION:-4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -110,11 +111,8 @@ mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip -aa $CWD/$ZIPNAME$ZIPVER-Source.zip
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 {} \+
sed -i "s/-O2/$SLKCFLAGS/" EMULib/Rules.gcc