diff options
author | B. Watson <yalhcru@gmail.com> | 2021-11-09 14:28:52 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-04 10:08:55 +0700 |
commit | 2ed9033c395bf849c262074ff6f337a788e7df5b (patch) | |
tree | 7a08fbc102ca8ae7b122e1c1c8b7bb7c70e07610 | |
parent | a1f71ad04906171ed5148b9fddd7b622f79eb096 (diff) |
games/srb2: Updated for version 2.2.9.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/srb2/srb2.SlackBuild | 11 | ||||
-rw-r--r-- | games/srb2/srb2.info | 10 |
2 files changed, 11 insertions, 10 deletions
diff --git a/games/srb2/srb2.SlackBuild b/games/srb2/srb2.SlackBuild index fd71b32e677f..38efd929eec9 100644 --- a/games/srb2/srb2.SlackBuild +++ b/games/srb2/srb2.SlackBuild @@ -9,7 +9,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=srb2 -VERSION=${VERSION:-2.2.8} +VERSION=${VERSION:-2.2.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -81,7 +78,11 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ ( cd assets mkdir installer cd installer - unzip $CWD/SRB2-v$VERSION-Full.zip '*.dta' '*.pk3' + + # upstream release a 2.2.8 followed by a 229, handle either. + ZIPFILE="$CWD/SRB2-v$VERSION-Full.zip" + [ -e "$ZIPFILE" ] || ZIPFILE="$CWD/SRB2-v${VERSION//.}-Full.zip" + unzip "$ZIPFILE" '*.dta' '*.pk3' ) # As shipped, the path /usr/games/SRB2 is hardcoded in various places diff --git a/games/srb2/srb2.info b/games/srb2/srb2.info index 5f3e15f0203c..50776ee7a51d 100644 --- a/games/srb2/srb2.info +++ b/games/srb2/srb2.info @@ -1,10 +1,10 @@ PRGNAM="srb2" -VERSION="2.2.8" +VERSION="2.2.9" HOMEPAGE="https://www.srb2.org/" -DOWNLOAD="https://github.com/STJr/SRB2/archive/SRB2_release_2.2.8/SRB2-SRB2_release_2.2.8.tar.gz \ - https://github.com/STJr/SRB2/releases/download/SRB2_release_2.2.8/SRB2-v2.2.8-Full.zip" -MD5SUM="24485b3fac77cc2de5ff164f29da81f1 \ - 46df8c6d29c1bca8c82af434e8f64313" +DOWNLOAD="https://github.com/STJr/SRB2/archive/SRB2_release_2.2.9/SRB2-SRB2_release_2.2.9.tar.gz \ + https://github.com/STJr/SRB2/releases/download/SRB2_release_2.2.9/SRB2-v229-Full.zip" +MD5SUM="fd4a0d94c598854cbd0e76085ca9c919 \ + 1a09f020011b2e9824d48037bce9ca39" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |