aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-12-03 18:03:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-09 13:17:26 +0700
commita5d84048bb97949c02a2a8ecbefa30f42992e586 (patch)
tree72f3e6c281bde3554ffb41639d1cf62a669ef1f0
parent9dfdf46595d70eb176354d4580d3544e32f76f28 (diff)
games/open-adventure: Updated for version 1.6.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-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 2c1a1ee8e9278..d854e29d96126 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 836d5e97de050..685e293bb791b 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=""