games/warzone2100: Updated for version 3.3.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2019-09-07 14:40:06 +02:00 committed by Willy Sudiarto Raharjo
parent 13c90ce9b7
commit a7e84c8638
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 7 additions and 6 deletions

View File

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=warzone2100 PRGNAM=warzone2100
VERSION=${VERSION:-3.2.3} VERSION=${VERSION:-3.3.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -60,8 +60,8 @@ set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION rm -rf $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z tar xvf $CWD/$PRGNAM-${VERSION}_src.tar.?z
cd $PRGNAM-$VERSION cd $PRGNAM
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -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 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
./autogen.sh
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \ CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \ ./configure \

View File

@ -1,8 +1,8 @@
PRGNAM="warzone2100" PRGNAM="warzone2100"
VERSION="3.2.3" VERSION="3.3.0"
HOMEPAGE="http://wz2100.net" HOMEPAGE="http://wz2100.net"
DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-3.2.3.tar.xz" DOWNLOAD="https://downloads.sourceforge.net/project/warzone2100/releases/3.3.0/warzone2100-3.3.0_src.tar.xz"
MD5SUM="a56865aadea789b570be20cfbd7addc9" MD5SUM="665f03234b4a5e1be69eb71d1da2a1bc"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="OpenAL physfs SDL2 qt5" REQUIRES="OpenAL physfs SDL2 qt5"