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>
This commit is contained in:
B. Watson 2021-02-14 12:57:39 -05:00 committed by Willy Sudiarto Raharjo
parent d89d7b4311
commit 431a979cbe
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 11 deletions

View File

@ -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"
DATA="warsow-2.1.2.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/"
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/

View File

@ -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=""