summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""