summaryrefslogtreecommitdiff
path: root/games/flare/flare.SlackBuild
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2018-03-30 23:46:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:41 +0700
commitbccc0dde1e17b00bf5afd441714e2c76427c2b29 (patch)
tree39632a080a3aebe4d2696d1efd95225692ecdbfc /games/flare/flare.SlackBuild
parent4c27112e99eca81702d437826aa4ede040899fe8 (diff)
downloadslackbuilds-bccc0dde1e17b00bf5afd441714e2c76427c2b29.tar.gz
games/flare: Updated for version 1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/flare/flare.SlackBuild')
-rw-r--r--games/flare/flare.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/flare/flare.SlackBuild b/games/flare/flare.SlackBuild
index f528f5e742..34c1741a8e 100644
--- a/games/flare/flare.SlackBuild
+++ b/games/flare/flare.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for flare
+# Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -24,7 +25,7 @@
PRGNAM=flare
SRCNAM=$PRGNAM-engine
-VERSION=${VERSION:-0.20}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -76,8 +77,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -100,7 +99,7 @@ mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 distribution/Flare.ico $PKG/usr/share/pixmaps/$PRGNAM.svg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING CREDITS.txt README.md RELEASE_NOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING CREDITS*.txt README*.md RELEASE_NOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install