summaryrefslogtreecommitdiff
path: root/games/warsow/warsow.SlackBuild
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/warsow.SlackBuild
parentd89d7b431190636efc9563f4e409dab45e549a85 (diff)
downloadslackbuilds-431a979cbee8f227a9bdf86265383108b9681daf.tar.gz
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/warsow.SlackBuild')
-rw-r--r--games/warsow/warsow.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild
index bbe9a50f5a..2cab1ecc41 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/