summaryrefslogtreecommitdiffstats
path: root/games/commandergenius/commandergenius.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-12-23 04:47:44 -0500
committer Robby Workman <rworkman@slackbuilds.org>2017-12-27 18:09:36 -0600
commit6c2624b6c267aa012aa873a787bcd248c7776b58 (patch)
tree9d380eafaf1b8b92ac1b9701b6fbfdf28dc89528 /games/commandergenius/commandergenius.SlackBuild
parent959959205181cde20948f522c1de1120b2996393 (diff)
downloadslackbuilds-6c2624b6c267aa012aa873a787bcd248c7776b58.tar.gz
slackbuilds-6c2624b6c267aa012aa873a787bcd248c7776b58.tar.xz
games/commandergenius: Updated for version 1.9.9.8beta.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/commandergenius/commandergenius.SlackBuild')
-rw-r--r--games/commandergenius/commandergenius.SlackBuild23
1 files changed, 15 insertions, 8 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 '{}' '+'