aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-02-08 11:50:51 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:49 +0700
commit63bc8a45fcbd800853ef2efb07c5b966d3763985 (patch)
treed3954af4cf1719a57869daca732042973efd4672 /games
parent10d03c7b201ff216070420839a2fe51cd5f0dc35 (diff)
games/fifengine: Updated for version 0.4.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/fifengine/fifengine.SlackBuild18
-rw-r--r--games/fifengine/fifengine.info8
2 files changed, 17 insertions, 9 deletions
diff --git a/games/fifengine/fifengine.SlackBuild b/games/fifengine/fifengine.SlackBuild
index 11462a01064a..7791af717f56 100644
--- a/games/fifengine/fifengine.SlackBuild
+++ b/games/fifengine/fifengine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fifengine
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fifengine
-VERSION=${VERSION:-0.3.5}
+VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,15 +69,23 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-scons
-python setup.py install --root=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
rm -rf $PKG/usr/lib/site-packages/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES COPYING README SConstruct $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG.md LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/fifengine/fifengine.info b/games/fifengine/fifengine.info
index 6e13359109f9..b7d7d57159d1 100644
--- a/games/fifengine/fifengine.info
+++ b/games/fifengine/fifengine.info
@@ -1,10 +1,10 @@
PRGNAM="fifengine"
-VERSION="0.3.5"
+VERSION="0.4.1"
HOMEPAGE="http://www.fifengine.net/"
-DOWNLOAD="https://github.com/fifengine/fifengine/archive/0.3.5.tar.gz"
-MD5SUM="5812a30912022ff9737cb3b72b9d42e0"
+DOWNLOAD="https://github.com/fifengine/fifengine/archive/0.4.1.tar.gz"
+MD5SUM="6ce5533102c4993b44c3ba8347f4ca93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="guichan OpenAL fifechan"
+REQUIRES="OpenAL tinyxml fifechan"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"