aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/open-adventure/open-adventure.SlackBuild11
-rw-r--r--games/open-adventure/open-adventure.info4
2 files changed, 7 insertions, 8 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild
index 2c1a1ee8e927..d854e29d9612 100644
--- a/games/open-adventure/open-adventure.SlackBuild
+++ b/games/open-adventure/open-adventure.SlackBuild
@@ -6,13 +6,15 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20181203 bkw: Update for v1.6.
+
# 20180114 bkw:
# - Update for v1.4.
# - Include upstream's icon and .desktop.
# - New dependencies in .info file :(
PRGNAM=open-adventure
-VERSION=${VERSION:-1.4}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,11 +64,8 @@ tar xvf $CWD/$PRGNAM-$VERSION-*.tar.bz2
cd $PRGNAM-$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 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 {} \+
# It'd be nice if I could pass my own CFLAGS without editing the Makefile...
sed -i "s,-O2,$SLKCFLAGS," Makefile
diff --git a/games/open-adventure/open-adventure.info b/games/open-adventure/open-adventure.info
index 836d5e97de05..685e293bb791 100644
--- a/games/open-adventure/open-adventure.info
+++ b/games/open-adventure/open-adventure.info
@@ -1,7 +1,7 @@
PRGNAM="open-adventure"
-VERSION="1.4"
+VERSION="1.6"
HOMEPAGE="https://gitlab.com/esr/open-adventure"
-DOWNLOAD="https://gitlab.com/esr/open-adventure/repository/archive.tar.bz2?ref=1.4"
+DOWNLOAD="https://gitlab.com/esr/open-adventure/repository/archive.tar.bz2?ref=1.6"
MD5SUM="6ef2df9618276028adcaf669ee11ae5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""