aboutsummaryrefslogtreecommitdiff
path: root/games/warzone2100
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2019-09-07 14:40:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-13 06:13:02 +0700
commita7e84c8638bd8dd3b67d3c339d3a51e9edb20279 (patch)
tree70e6eb0a7bcb389f9ad7e2634f27a9747b136f4c /games/warzone2100
parent13c90ce9b78b212a12e2c09da0e66629c51cf999 (diff)
games/warzone2100: Updated for version 3.3.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/warzone2100')
-rw-r--r--games/warzone2100/warzone2100.SlackBuild7
-rw-r--r--games/warzone2100/warzone2100.info6
2 files changed, 7 insertions, 6 deletions
diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild
index 56a4a8158907c..c9f033a4884a3 100644
--- a/games/warzone2100/warzone2100.SlackBuild
+++ b/games/warzone2100/warzone2100.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=warzone2100
-VERSION=${VERSION:-3.2.3}
+VERSION=${VERSION:-3.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,8 +60,8 @@ set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-${VERSION}_src.tar.?z
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -69,6 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
diff --git a/games/warzone2100/warzone2100.info b/games/warzone2100/warzone2100.info
index a8596c1d1163a..098af855c7497 100644
--- a/games/warzone2100/warzone2100.info
+++ b/games/warzone2100/warzone2100.info
@@ -1,8 +1,8 @@
PRGNAM="warzone2100"
-VERSION="3.2.3"
+VERSION="3.3.0"
HOMEPAGE="http://wz2100.net"
-DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-3.2.3.tar.xz"
-MD5SUM="a56865aadea789b570be20cfbd7addc9"
+DOWNLOAD="https://downloads.sourceforge.net/project/warzone2100/releases/3.3.0/warzone2100-3.3.0_src.tar.xz"
+MD5SUM="665f03234b4a5e1be69eb71d1da2a1bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenAL physfs SDL2 qt5"