summaryrefslogtreecommitdiffstats
path: root/games/open-adventure/open-adventure.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/open-adventure/open-adventure.SlackBuild')
-rw-r--r--games/open-adventure/open-adventure.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild
index d854e29d96..d33724b1f2 100644
--- a/games/open-adventure/open-adventure.SlackBuild
+++ b/games/open-adventure/open-adventure.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191211 bkw: Update for v1.8.
# 20181203 bkw: Update for v1.6.
# 20180114 bkw:
@@ -14,7 +15,7 @@
# - New dependencies in .info file :(
PRGNAM=open-adventure
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,9 @@ rm -rf $PRGNAM-$VERSION-*
# downloads, but not gitlab. Also, notice the * in the 2nd filename
# (and in the 'cd' below): I'm *not* hard-coding the full git hash here.
tar xvf $CWD/archive.tar.bz2\?ref=$VERSION ||
-tar xvf $CWD/$PRGNAM-$VERSION-*.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION*.tar.bz2
-cd $PRGNAM-$VERSION-*
+cd $PRGNAM-$VERSION*
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+