aboutsummaryrefslogtreecommitdiff
path: root/games/warsow
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-02-14 12:57:39 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-21 00:05:06 +0700
commit431a979cbee8f227a9bdf86265383108b9681daf (patch)
tree70d5b37b3e5668ae3b5eace5bc4048a24f3a86eb /games/warsow
parentd89d7b431190636efc9563f4e409dab45e549a85 (diff)
games/warsow: Updated for version 2.1.2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/warsow')
-rw-r--r--games/warsow/warsow.SlackBuild19
-rw-r--r--games/warsow/warsow.info6
2 files changed, 13 insertions, 12 deletions
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild
index bbe9a50f5a3cc..2cab1ecc41054 100644
--- a/games/warsow/warsow.SlackBuild
+++ b/games/warsow/warsow.SlackBuild
@@ -22,9 +22,10 @@
# Written by Andre Barboza <bmg.andre@gmail.com>
# Updated by drhouse <housegregory299@gmail.com>
# Updated by goarilla <goarilla@gmail.com>
+# Updated to v2.1.2 by SlackBuilds.org: version 2.1 was broken.
PRGNAM=warsow
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,14 +63,14 @@ mkdir -p "${PKG}/usr/doc/${PRGNAM}-${VERSION}"
# no parent directory
SDK="warsow_21_sdk.tar.gz"
# ./warsow_20
-DATA="warsow_21_unified.tar.gz"
-
-tar -C "${PKG}/usr/doc/${PRGNAM}-${VERSION}" -xvf "$DATA" ./warsow_21/docs/
-mv "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_21/docs/"* "${PKG}/usr/doc/${PRGNAM}-${VERSION}/"
-rm -rf "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_21/"
-tar -C "${PKG}/usr/share/${PRGNAM}" -xvf "$DATA" ./warsow_21/basewsw
-mv "${PKG}/usr/share/${PRGNAM}/warsow_21/"* "${PKG}/usr/share/${PRGNAM}"
-rm -rf "${PKG}/usr/share/${PRGNAM}/warsow_21/"
+DATA="warsow-2.1.2.tar.gz"
+
+tar -C "${PKG}/usr/doc/${PRGNAM}-${VERSION}" -xvf "$DATA" warsow-2.1.2/docs/
+mv "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow-2.1.2/docs/"* "${PKG}/usr/doc/${PRGNAM}-${VERSION}/"
+rm -rf "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow-2.1.2/"
+tar -C "${PKG}/usr/share/${PRGNAM}" -xvf "$DATA" warsow-2.1.2/basewsw
+mv "${PKG}/usr/share/${PRGNAM}/warsow-2.1.2/"* "${PKG}/usr/share/${PRGNAM}"
+rm -rf "${PKG}/usr/share/${PRGNAM}/warsow-2.1.2/"
# unpack sdk
tar -C "${TMP}/${PRGNAM}-${VERSION}" -xvf "$SDK" warsow_21_sdk/
diff --git a/games/warsow/warsow.info b/games/warsow/warsow.info
index 7ba2e77188624..a409c5e059442 100644
--- a/games/warsow/warsow.info
+++ b/games/warsow/warsow.info
@@ -1,9 +1,9 @@
PRGNAM="warsow"
-VERSION="2.1"
+VERSION="2.1.2"
HOMEPAGE="https://www.warsow.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/warsow_21_unified.tar.gz \
+DOWNLOAD="https://warsow.net/warsow-2.1.2.tar.gz \
http://ponce.cc/slackware/sources/repo/warsow_21_sdk.tar.gz"
-MD5SUM="fac70b30d7295c0bc4c3f0432c4b7937 \
+MD5SUM="ec3e8c20a491d08b2f7753ee6e700bbe \
56c02b5e9bd6f921fbc980e868c2b48d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""