summaryrefslogtreecommitdiffstats
path: root/games/flare-game/flare-game.SlackBuild
diff options
context:
space:
mode:
author Yth - Arnaud <yth@ythogtha.org>2018-03-30 23:56:53 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:41 +0700
commitbe03529c3ba750f0434b6e97483795eb1abebb02 (patch)
tree10221b176af98a8538d154fa1960fb7ac6300d83 /games/flare-game/flare-game.SlackBuild
parentbccc0dde1e17b00bf5afd441714e2c76427c2b29 (diff)
downloadslackbuilds-be03529c3ba750f0434b6e97483795eb1abebb02.tar.gz
slackbuilds-be03529c3ba750f0434b6e97483795eb1abebb02.tar.xz
games/flare-game: Updated for version 1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/flare-game/flare-game.SlackBuild')
-rw-r--r--games/flare-game/flare-game.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/flare-game/flare-game.SlackBuild b/games/flare-game/flare-game.SlackBuild
index 13bfdd9fba..75378310fb 100644
--- a/games/flare-game/flare-game.SlackBuild
+++ b/games/flare-game/flare-game.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for flare-game
+# Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flare-game
-VERSION=${VERSION:-0.20}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,8 +75,6 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -85,7 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CREDITS.txt README RELEASE_NOTES.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CREDITS.txt README README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install