aboutsummaryrefslogtreecommitdiff
path: root/games/warsow
diff options
context:
space:
mode:
authordrhouse <housegregory299@gmail.com>2013-04-23 20:47:20 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:28:17 -0300
commit33166156dbc0b9bf06a150e8098d768a0210c665 (patch)
tree5fd232eacaf380a95892bc458f6e9e725c00ac4d /games/warsow
parent686a5a40c0ce0a495599d447b5791c67cd663086 (diff)
games/warsow: Updated for version 1.02.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/warsow')
-rw-r--r--games/warsow/README3
-rw-r--r--games/warsow/slack-desc14
-rw-r--r--games/warsow/warsow.SlackBuild19
-rw-r--r--games/warsow/warsow.info16
4 files changed, 27 insertions, 25 deletions
diff --git a/games/warsow/README b/games/warsow/README
index 7b2c05e6fd9d..12405bdb7d8d 100644
--- a/games/warsow/README
+++ b/games/warsow/README
@@ -10,6 +10,3 @@ cyberathlete you jump, dash, dodge and walljump your way through the
game. Grab those power-ups before your enemy does, plant the bomb
before anyone sees you, and steal the enemy's flag before anyone
knows what's going on!
-
-Note: This SlackBuild just repacks the binaries and there is no
-compiling.
diff --git a/games/warsow/slack-desc b/games/warsow/slack-desc
index 8cc4866e8ef4..a602f02084c4 100644
--- a/games/warsow/slack-desc
+++ b/games/warsow/slack-desc
@@ -1,16 +1,16 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
warsow: warsow (A Fast Paced First Person Shooter Game)
warsow:
-warsow: Set in a futuristic cartoon-like world where rocketlauncher-wielding
-warsow: pigs and lasergun-carrying cyberpunks roam the streets, Warsow is a
-warsow: completely free fast-paced first-person shooter (FPS) for Windows,
+warsow: Set in a futuristic cartoon-like world where rocketlauncher-wielding
+warsow: pigs and lasergun-carrying cyberpunks roam the streets, Warsow is a
+warsow: completely free fast-paced first-person shooter (FPS) for Windows,
warsow: Linux and Mac OS X.
warsow:
warsow:
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild
index 1b2a87710283..e713de9d3f84 100644
--- a/games/warsow/warsow.SlackBuild
+++ b/games/warsow/warsow.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for Warsow
+# Slackware build script for Warsow
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -20,13 +20,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Written by Andre Barboza <bmg.andre@gmail.com>
+# Updated by drhouse <housegregory299@gmail.com>
PRGNAM=warsow
-VERSION=${VERSION:-0.62}
+VERSION=${VERSION:-1.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-BASE_VERSION=${BASE_VERSION:-0.61}
+BASE_VERSION=${BASE_VERSION:-1.02}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -52,9 +53,13 @@ set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $TMP/$PRGNAM-$VERSION $PKG $OUTPUT
cd $TMP/$PRGNAM-$VERSION
-unzip $CWD/"$PRGNAM"_"$BASE_VERSION"_unified.zip
-cd "$PRGNAM"_"$BASE_VERSION"_unified
-unzip -o $CWD/"$PRGNAM"_"$VERSION"_update.zip
+tar -xvvzf $CWD/"$PRGNAM"_"$BASE_VERSION"_sdk.tar.gz
+tar -xvvzf $CWD/"$PRGNAM"_"$BASE_VERSION".tar.gz
+cd "$PRGNAM"_"$BASE_VERSION"_sdk/source/
+make -j1
+cp -rv $TMP/$PRGNAM-$VERSION/"$PRGNAM"_"$BASE_VERSION"_sdk/source/release/* $TMP/$PRGNAM-$VERSION/"$PRGNAM"_"$BASE_VERSION"/
+cd $TMP/$PRGNAM-$VERSION/"$PRGNAM"_"$BASE_VERSION"
+#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 \) \
@@ -78,7 +83,7 @@ install -D -m 0755 libs/irc_$EXESUFFIX.so $PKG/usr/share/warsow/libs
install -D -m 0755 libs/snd_openal_$EXESUFFIX.so $PKG/usr/share/warsow/libs
install -D -m 0755 libs/snd_qf_$EXESUFFIX.so $PKG/usr/share/warsow/libs
-mkdir -p $PKG/usr/share/warsow/basewsw/
+mkdir -p $PKG/usr/share/warsow/basewsw/
cp -ra basewsw/* $PKG/usr/share/warsow/basewsw/
mkdir -p $PKG/usr/share/pixmaps/
cat $CWD/warsow.png > $PKG/usr/share/pixmaps/warsow.png
diff --git a/games/warsow/warsow.info b/games/warsow/warsow.info
index 79ca55f9d753..1dd139dde1fb 100644
--- a/games/warsow/warsow.info
+++ b/games/warsow/warsow.info
@@ -1,12 +1,12 @@
PRGNAM="warsow"
-VERSION="0.62"
+VERSION="1.02"
HOMEPAGE="http://www.warsow.net/"
-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="http://wsw.null.so/warsow_1.02.tar.gz \
+http://www.zcdn.org/dl/1.02/warsow_1.02_sdk.tar.gz"
+MD5SUM="1f0aa20bb441d6734de2f6ff19b8cb2b \
+df3dee05dd6f84b44ba131a2445a1706"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+REQUIRES="OpenAL"
+MAINTAINER="drhouse"
+EMAIL="housegregory299@gmail.com"