summaryrefslogtreecommitdiff
path: root/games/flare
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-06-13 17:52:23 +0300
committerDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-06-13 17:52:23 +0300
commit66d01b63cad508e353a9c78e87dcff12e05b8247 (patch)
treec894d45fe3426df5b7a1808cfb8774b5e2234b24 /games/flare
parent63e476370aa8ebe56040ea65834b8eb9b59785e5 (diff)
downloadslackbuilds-66d01b63cad508e353a9c78e87dcff12e05b8247.tar.gz
games/flare: Updated for version 0.20.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/flare')
-rw-r--r--games/flare/flare.SlackBuild15
-rw-r--r--games/flare/flare.info8
2 files changed, 12 insertions, 11 deletions
diff --git a/games/flare/flare.SlackBuild b/games/flare/flare.SlackBuild
index 52351c46c2..fdc5a35c48 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
diff --git a/games/flare/flare.info b/games/flare/flare.info
index 5a7c821cdf..9793e0d983 100644
--- a/games/flare/flare.info
+++ b/games/flare/flare.info
@@ -1,10 +1,10 @@
PRGNAM="flare"
-VERSION="0.19"
+VERSION="0.20"
HOMEPAGE="http://flarerpg.org/"
-DOWNLOAD="http://sourceforge.net/projects/flare-game/files/Linux/flare.0.19.tar.gz"
-MD5SUM="b6abe60413ea370840725a94cae05fcc"
+DOWNLOAD="https://github.com/clintbellanger/flare-engine/archive/v0.20.tar.gz"
+MD5SUM="885f39ac203a68d9fa9d80224724a58c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="SDL2_image SDL2_mixer SDL2_ttf"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"