From 6c2624b6c267aa012aa873a787bcd248c7776b58 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 23 Dec 2017 04:47:44 -0500 Subject: games/commandergenius: Updated for version 1.9.9.8beta. Signed-off-by: B. Watson --- games/commandergenius/commandergenius.SlackBuild | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'games/commandergenius/commandergenius.SlackBuild') 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 '{}' '+' -- cgit v1.2.3