summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 56a4a81589..c9f033a488 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 a8596c1d11..098af855c7 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"