summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-24 23:44:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:37 +0700
commit70518dbaedd94c3d6c3727449bc2119ae220a36e (patch)
tree67f4f885cce2c8ff7aca1e1af615ed0bcf77a7ba /games
parent1b1b7625fa2650130e9c0114ae04f134d6e12ff8 (diff)
downloadslackbuilds-70518dbaedd94c3d6c3727449bc2119ae220a36e.tar.gz
games/open-adventure: Updated for version 1.9.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/open-adventure/open-adventure.SlackBuild13
-rw-r--r--games/open-adventure/open-adventure.info8
2 files changed, 15 insertions, 6 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild
index d33724b1f2..4ab94bbc9f 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.
+# 20201024 bkw: Update for v1.9.
# 20191211 bkw: Update for v1.8.
# 20181203 bkw: Update for v1.6.
@@ -15,7 +16,7 @@
# - New dependencies in .info file :(
PRGNAM=open-adventure
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,9 +69,17 @@ 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 {} \+
+# As of v1.9, upstream carelessly checked a prebuilt binary into the repo.
+# Or maybe it was on purpose? Anyway don't use.
+make clean
+
# It'd be nice if I could pass my own CFLAGS without editing the Makefile...
sed -i "s,-O2,$SLKCFLAGS," Makefile
-make
+
+# 20201024 bkw: Parallel make causes ./make_dungeon.py to run
+# twice. This doesn't seem to hurt anything, but I can see how it
+# might someday. So -j1.
+make -j1
make $EXE.6
# no 'make install' target:
diff --git a/games/open-adventure/open-adventure.info b/games/open-adventure/open-adventure.info
index 11f158c55a..d14d9f11e2 100644
--- a/games/open-adventure/open-adventure.info
+++ b/games/open-adventure/open-adventure.info
@@ -1,10 +1,10 @@
PRGNAM="open-adventure"
-VERSION="1.8"
+VERSION="1.9"
HOMEPAGE="https://gitlab.com/esr/open-adventure"
-DOWNLOAD="https://gitlab.com/esr/open-adventure/-/archive/1.8/open-adventure-1.8.tar.bz2"
-MD5SUM="99a4af60e7b483b9d0cae107c44dbce5"
+DOWNLOAD="https://gitlab.com/esr/open-adventure/-/archive/1.9/open-adventure-1.9.tar.bz2"
+MD5SUM="aca1f7c1732eeadae8cd107d7f201af5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="PyYAML libedit"
+REQUIRES="python3-PyYAML libedit"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"