games/flare: Updated for version 0.20.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2016-06-13 17:52:23 +03:00
parent 63e476370a
commit 66d01b63ca
2 changed files with 12 additions and 11 deletions

View file

@ -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

View file

@ -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"