aboutsummaryrefslogtreecommitdiff
path: root/games/colem/colem.SlackBuild
diff options
context:
space:
mode:
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