games/warsow: Updated for version 2.01.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Kevin Paulus 2015-12-20 08:54:58 +07:00 committed by Willy Sudiarto Raharjo
parent ee0be443ff
commit 67d0474dc6
2 changed files with 11 additions and 11 deletions

View file

@ -24,8 +24,8 @@
# Updated by goarilla <goarilla@gmail.com>
PRGNAM=warsow
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
case "$( uname -m )" in
@ -60,14 +60,14 @@ mkdir -p "${PKG}/usr/share/${PRGNAM}"
mkdir -p "${PKG}/usr/doc/${PRGNAM}-${VERSION}"
# no parent directory
SDK="warsow_20_sdk.tar.gz"
SDK="warsow_201_sdk.tar.gz"
# ./warsow_20
DATA="warsow_20_unified.tar.gz"
DATA="warsow_201_unified.tar.gz"
tar -C "${PKG}/usr/doc/${PRGNAM}-${VERSION}" -xvf "$DATA" ./warsow_20/docs/
tar -C "${PKG}/usr/doc/${PRGNAM}-${VERSION}" -xvf "$DATA" warsow_20/docs/
mv "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_20/docs/"* "${PKG}/usr/doc/${PRGNAM}-${VERSION}/"
rm -rf "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_20/"
tar -C "${PKG}/usr/share/${PRGNAM}" -xvf "$DATA" ./warsow_20/basewsw
tar -C "${PKG}/usr/share/${PRGNAM}" -xvf "$DATA" warsow_20/basewsw
mv "${PKG}/usr/share/${PRGNAM}/warsow_20/"* "${PKG}/usr/share/${PRGNAM}"
rm -rf "${PKG}/usr/share/${PRGNAM}/warsow_20/"

View file

@ -1,10 +1,10 @@
PRGNAM="warsow"
VERSION="2.0"
VERSION="2.01"
HOMEPAGE="http://www.warsow.net/"
DOWNLOAD="http://update.warsow.net/mirror/warsow_20_unified.tar.gz \
http://update.warsow.net/mirror/warsow_20_sdk.tar.gz"
MD5SUM="4c35ac6ca5971e7dcb273dadabc07963 \
d0efb5d3754ef6838c1e8a7aa09c6e60"
DOWNLOAD="http://update.warsow.net/mirror/warsow_201_unified.tar.gz \
http://update.warsow.net/mirror/warsow_201_sdk.tar.gz"
MD5SUM="fee194075847f9a2508f65da89b6cfea \
e66809592094f45ec853b460ccaaa579"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenAL SDL2"