summaryrefslogtreecommitdiffstats
path: root/games/flare-game/flare-game.SlackBuild
diff options
context:
space:
mode:
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