diff options
Diffstat (limited to 'games/commandergenius/commandergenius.SlackBuild')
-rw-r--r-- | games/commandergenius/commandergenius.SlackBuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild index e238d5244dca7..85fd25117a914 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 '{}' '+' |