aboutsummaryrefslogtreecommitdiff
path: root/games/flare/flare.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/flare/flare.SlackBuild')
-rw-r--r--games/flare/flare.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/games/flare/flare.SlackBuild b/games/flare/flare.SlackBuild
index 52351c46c2780..fdc5a35c481af 100644
--- a/games/flare/flare.SlackBuild
+++ b/games/flare/flare.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for flare
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flare
-VERSION=${VERSION:-0.19}
+SRCNAM=$PRGNAM-engine
+VERSION=${VERSION:-0.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM.$VERSION
-tar xvf $CWD/$PRGNAM.$VERSION.tar.gz
-cd $PRGNAM.$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM.$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -86,7 +87,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/man
-mv $PKG/usr/share/man/man1 $PKG/usr/man
+mv $PKG/usr/share/man/man6 $PKG/usr/man
rm -rf $PKG/usr/share/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -99,7 +100,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 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