summaryrefslogtreecommitdiffstats
path: root/games/commandergenius
diff options
context:
space:
mode:
author B. Watson2017-12-23 10:47:44 +0100
committer Robby Workman2017-12-28 01:09:36 +0100
commit6c2624b6c267aa012aa873a787bcd248c7776b58 (patch)
tree9d380eafaf1b8b92ac1b9701b6fbfdf28dc89528 /games/commandergenius
parent959959205181cde20948f522c1de1120b2996393 (diff)
downloadslackbuilds-6c2624b6c267aa012aa873a787bcd248c7776b58.tar.gz
games/commandergenius: Updated for version 1.9.9.8beta.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/commandergenius')
-rw-r--r--games/commandergenius/commandergenius.SlackBuild23
-rw-r--r--games/commandergenius/commandergenius.info8
2 files changed, 20 insertions, 11 deletions
diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild
index e238d5244d..85fd25117a 100644
--- a/games/commandergenius/commandergenius.SlackBuild
+++ b/games/commandergenius/commandergenius.SlackBuild
@@ -6,22 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# 20170826 bkw:
-# - updated for 1.9.9.5beta
-
-# 20170725 bkw:
-# - updated for 1.9.9.2beta
-
+# 20171222 bkw: updated for 1.9.9.8beta
+# 20170826 bkw: updated for 1.9.9.5beta
+# 20170725 bkw: updated for 1.9.9.2beta
# 20170301 bkw:
# - updated for 1.9.8.7beta
# - fix the build for the case where SDL2 is installed but SDL2_image is not.
# - update man page (level= option, correct author's full name)
# - use github long-form URL
-
# 20170122 bkw: updated for 1.9.8.1beta.
PRGNAM=commandergenius
-VERSION=${VERSION:-1.9.9.5beta}
+VERSION=${VERSION:-1.9.9.8beta}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,6 +71,17 @@ tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
cd $SRCNAM-$SRCVER
chown -R root:root .
+# Why doesn't upstream include this in his release tarball? Probably
+# because it's autogenerated & github doesn't automagically include
+# submodules. It's a bit of a PITA to deal with this, appears impossible
+# to find the correct commit of GsKit to use without cloning the
+# Commander-Genius repo (which kinda defeats the purpose of having
+# release tarballs...)
+GSVER=${GSVER:-b6c76eceba505eb07736436af62c4472d044b012}
+tar xvf $CWD/GsKit-$GSVER.tar.gz
+rm -rf GsKit
+mv GsKit-$GSVER GsKit
+
# permissions are blethcherous, please don't revert to template here.
find -L . -type f -a -exec chmod 644 '{}' '+'
find -L . -type d -a -exec chmod 755 '{}' '+'
diff --git a/games/commandergenius/commandergenius.info b/games/commandergenius/commandergenius.info
index c482effcb8..4b2841ff87 100644
--- a/games/commandergenius/commandergenius.info
+++ b/games/commandergenius/commandergenius.info
@@ -1,8 +1,10 @@
PRGNAM="commandergenius"
-VERSION="1.9.9.5beta"
+VERSION="1.9.9.8beta"
HOMEPAGE="https://github.com/gerstrong/Commander-Genius"
-DOWNLOAD="https://github.com/gerstrong/Commander-Genius/archive/v1995beta/Commander-Genius-1995beta.tar.gz"
-MD5SUM="e7cc2f1d056fb5d394f4d8569d683067"
+DOWNLOAD="https://github.com/gerstrong/Commander-Genius/archive/v1998beta/Commander-Genius-1998beta.tar.gz \
+ https://github.com/gerstrong/GsKit/archive/b6c76eceba505eb07736436af62c4472d044b012/GsKit-b6c76eceba505eb07736436af62c4472d044b012.tar.gz"
+MD5SUM="4b4208330767659a610c2e439d216253 \
+ e6e8a7fe0f658c27822d9de076991b3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""