summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/warsow/warsow.SlackBuild14
-rw-r--r--games/warsow/warsow.info8
2 files changed, 14 insertions, 8 deletions
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild
index 7a61a627ae..1b2a877102 100644
--- a/games/warsow/warsow.SlackBuild
+++ b/games/warsow/warsow.SlackBuild
@@ -22,10 +22,12 @@
# Written by Andre Barboza <bmg.andre@gmail.com>
PRGNAM=warsow
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.62}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+BASE_VERSION=${BASE_VERSION:-0.61}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -45,12 +47,14 @@ else
EXESUFFIX="i386"
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $TMP/$PRGNAM-$VERSION $PKG $OUTPUT
cd $TMP/$PRGNAM-$VERSION
-unzip $CWD/"$PRGNAM"_"$VERSION"_unified.zip
+unzip $CWD/"$PRGNAM"_"$BASE_VERSION"_unified.zip
+cd "$PRGNAM"_"$BASE_VERSION"_unified
+unzip -o $CWD/"$PRGNAM"_"$VERSION"_update.zip
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -77,9 +81,9 @@ install -D -m 0755 libs/snd_qf_$EXESUFFIX.so $PKG/usr/share/warsow/libs
mkdir -p $PKG/usr/share/warsow/basewsw/
cp -ra basewsw/* $PKG/usr/share/warsow/basewsw/
mkdir -p $PKG/usr/share/pixmaps/
-cp -a $CWD/warsow.png $PKG/usr/share/pixmaps/
+cat $CWD/warsow.png > $PKG/usr/share/pixmaps/warsow.png
mkdir -p $PKG/usr/share/applications
-cp -a $CWD/warsow.desktop $PKG/usr/share/applications/
+cat $CWD/warsow.desktop > $PKG/usr/share/applications/warsow.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/warsow/warsow.info b/games/warsow/warsow.info
index d91be1ee2f..e53de31699 100644
--- a/games/warsow/warsow.info
+++ b/games/warsow/warsow.info
@@ -1,8 +1,10 @@
PRGNAM="warsow"
-VERSION="0.5"
+VERSION="0.62"
HOMEPAGE="http://www.warsow.net/"
-DOWNLOAD="http://static.warsow.net/release/warsow_0.5_unified.zip"
-MD5SUM="d0cb961256bbc1b93bf240b8bcf8eff5"
+DOWNLOAD="http://www.zcdn.org/dl/warsow_0.61_unified.zip \
+ http://www.zcdn.org/dl/warsow_0.62_update.zip"
+MD5SUM="dd17ffccf51579e6b278624727190c01 \
+ b13804d1562ac9fb341d5d31105c5326"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andre Barboza"