aboutsummaryrefslogtreecommitdiff
path: root/games/bstone
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-02-22 02:47:19 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-24 06:10:07 +0700
commitddb6d080bc14d6d39519917ec0060abf4a91ec48 (patch)
tree55aad8fd5769e68c408a7f0d97a6675bfc1223fa /games/bstone
parentd1b6cd5fe4b48d19a15978f6118b87fb4328034d (diff)
games/bstone: Updated for version 1.1.16_2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/bstone')
-rw-r--r--games/bstone/bstone.SlackBuild12
-rw-r--r--games/bstone/bstone.info6
2 files changed, 11 insertions, 7 deletions
diff --git a/games/bstone/bstone.SlackBuild b/games/bstone/bstone.SlackBuild
index 0cd4450a5cff..d03d5695b455 100644
--- a/games/bstone/bstone.SlackBuild
+++ b/games/bstone/bstone.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200222 bkw: update for v1.1.16_2.
+
# 20191127 bkw: update for v1.1.14. datadir.diff had to change so we can't
# build old versions any more.
@@ -16,10 +18,12 @@
# 20170621 bkw: fix build on -current
PRGNAM=bstone
-VERSION=${VERSION:-1.1.14}
+VERSION=${VERSION:-1.1.16_2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=${VERSION/_/-}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -52,9 +56,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/v$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
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 {} \+
diff --git a/games/bstone/bstone.info b/games/bstone/bstone.info
index 7c3384ea2d3b..070dafbff42a 100644
--- a/games/bstone/bstone.info
+++ b/games/bstone/bstone.info
@@ -1,9 +1,9 @@
PRGNAM="bstone"
-VERSION="1.1.14"
+VERSION="1.1.16_2"
HOMEPAGE="http://bibendovsky.github.io/bstone/"
-DOWNLOAD="https://github.com/bibendovsky/bstone/archive/v1.1.14/bstone-1.1.14.tar.gz \
+DOWNLOAD="https://github.com/bibendovsky/bstone/archive/v1.1.16-2/bstone-1.1.16-2.tar.gz \
https://archive.org/download/BlakeStoneAliensOfGold/1bs30.zip"
-MD5SUM="3da8860ffeff60e33b69d142170231e8 \
+MD5SUM="bf025e3e20c9866a23d7a0eb615d0a15 \
a63c88fc5b399ffb5ed42dc215321f36"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""