summaryrefslogtreecommitdiff
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
parent4c27112e99eca81702d437826aa4ede040899fe8 (diff)
downloadslackbuilds-bccc0dde1e17b00bf5afd441714e2c76427c2b29.tar.gz
games/flare: Updated for version 1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/flare/flare.SlackBuild9
-rw-r--r--games/flare/flare.info10
2 files changed, 9 insertions, 10 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
diff --git a/games/flare/flare.info b/games/flare/flare.info
index 9793e0d983..501cccd2a4 100644
--- a/games/flare/flare.info
+++ b/games/flare/flare.info
@@ -1,10 +1,10 @@
PRGNAM="flare"
-VERSION="0.20"
+VERSION="1.0"
HOMEPAGE="http://flarerpg.org/"
-DOWNLOAD="https://github.com/clintbellanger/flare-engine/archive/v0.20.tar.gz"
-MD5SUM="885f39ac203a68d9fa9d80224724a58c"
+DOWNLOAD="https://github.com/clintbellanger/flare-engine/archive/v1.0/flare-engine-1.0.tar.gz"
+MD5SUM="4b51a41468b1187769c990476644c61b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image SDL2_mixer SDL2_ttf"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"