summaryrefslogtreecommitdiff
path: root/games/commandergenius
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-01-01 21:27:01 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:39 +0700
commitb58dd971d5a18718bf44b5cbb11157ce718f1dde (patch)
treea5beb75ecb47f1fa640533480312fe4aec3b7d4c /games/commandergenius
parent7b4f4e0c187364462f3925cb88c9e99447f10876 (diff)
downloadslackbuilds-b58dd971d5a18718bf44b5cbb11157ce718f1dde.tar.gz
games/commandergenius: Updated for version 2.0.0.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/commandergenius')
-rw-r--r--games/commandergenius/README15
-rw-r--r--games/commandergenius/commandergenius.SlackBuild14
-rw-r--r--games/commandergenius/commandergenius.info10
3 files changed, 24 insertions, 15 deletions
diff --git a/games/commandergenius/README b/games/commandergenius/README
index 9efc8616f5..e25add7e71 100644
--- a/games/commandergenius/README
+++ b/games/commandergenius/README
@@ -3,11 +3,11 @@ commandergenius (engine for Commander Keen games)
Commander Genius is an open-source clone of Commander Keen which allows
you to play the games, and some of the mods made for it. All of the
original data files are required to do so, however the authors have
-provided convenient way to download some of the games (choose "Game
-Center" at the main menu). It's also possible to use the data files from
-an installed copy of one or more of the games.
+provided convenient way to download some of the games (choose "More"
+at the main menu). It's also possible to use the data files from an
+installed copy of one or more of the games.
-Supported games:
+Supported games include:
Keen 1 - Version 1.33 [*]
Keen 2 - Version 1.33
@@ -15,12 +15,13 @@ Keen 3 - Version 1.33
Keen 4 - Version 1.4 (EGA) [*]
Keen 5 - Version 1.4 (EGA)
Keen 6 - Version 1.4 (EGA) (version 1.5 known not to work!)
+Keen 7 [*]
Keen Dreams - Version v1.13 (EGA) [*]
-[*] = downloadable from Game Center
+[*] = downloadable from within the UI.
-Other versions might work, but there are no guarantees. For the games not
-available via the in-game Game Center, place the data files somewhere
+Other versions might work, but there are no guarantees. For the games
+not available via the in-game downloader, place the data files somewhere
under /usr/share/games/commandergenius or ~/.CommanderGenius, and edit
~/.CommanderGenius/games.cfg to tell the game where to find the files.
diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild
index 85fd25117a..796719cef0 100644
--- a/games/commandergenius/commandergenius.SlackBuild
+++ b/games/commandergenius/commandergenius.SlackBuild
@@ -17,7 +17,7 @@
# 20170122 bkw: updated for 1.9.8.1beta.
PRGNAM=commandergenius
-VERSION=${VERSION:-1.9.9.8beta}
+VERSION=${VERSION:-2.0.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,15 @@ DESKTOP="cgenius.desktop"
# the real VERSION is from version.h in the source. the tarball names
# omit the dots.
-SRCVER="$( echo $VERSION | sed 's,\.,,g' )"
+
+if echo "$VERSION" | grep -q beta; then
+ # This works for the 1.9.x.x betas:
+ SRCVER="$( echo $VERSION | sed 's,\.,,g' )"
+else
+ # Now upstream's actual version number is 2.0.0.0 but the tarball/dir
+ # name only has two zeroes in it:
+ SRCVER="200Release"
+fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -77,7 +85,7 @@ chown -R root:root .
# 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}
+GSVER=${GSVER:-f925d1362f0bc99598141a97d5a200d5e6a41391}
tar xvf $CWD/GsKit-$GSVER.tar.gz
rm -rf GsKit
mv GsKit-$GSVER GsKit
diff --git a/games/commandergenius/commandergenius.info b/games/commandergenius/commandergenius.info
index 4b2841ff87..0c62646bad 100644
--- a/games/commandergenius/commandergenius.info
+++ b/games/commandergenius/commandergenius.info
@@ -1,10 +1,10 @@
PRGNAM="commandergenius"
-VERSION="1.9.9.8beta"
+VERSION="2.0.0.0"
HOMEPAGE="https://github.com/gerstrong/Commander-Genius"
-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="https://github.com/gerstrong/Commander-Genius/archive/v200Release/Commander-Genius-200Release.tar.gz \
+ https://github.com/gerstrong/GsKit/archive/f925d1362f0bc99598141a97d5a200d5e6a41391/GsKit-f925d1362f0bc99598141a97d5a200d5e6a41391.tar.gz"
+MD5SUM="634cb2b0ccd4dd8750825dae18730c36 \
+ a18b787298f1615f171f613397ee8d9b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""