summaryrefslogtreecommitdiff
path: root/games/warzone2100/warzone2100.SlackBuild
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/warzone2100.SlackBuild
parent13c90ce9b78b212a12e2c09da0e66629c51cf999 (diff)
downloadslackbuilds-a7e84c8638bd8dd3b67d3c339d3a51e9edb20279.tar.gz
games/warzone2100: Updated for version 3.3.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/warzone2100/warzone2100.SlackBuild')
-rw-r--r--games/warzone2100/warzone2100.SlackBuild7
1 files changed, 4 insertions, 3 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 \