aboutsummaryrefslogtreecommitdiff
path: root/games/starfighter
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2020-05-29 19:50:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-01 08:46:29 +0700
commiteb91d00a4a47d21bd212a57f0ece1e02d4711a08 (patch)
treee16ff02c53236464c62f8e7643bd03b14042cf59 /games/starfighter
parentdf49daf458379657bc8b4d6ea22df0971beee82b (diff)
games/starfighter: Updated for version 2.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/starfighter')
-rw-r--r--games/starfighter/starfighter.SlackBuild14
-rw-r--r--games/starfighter/starfighter.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild
index 81ba01725b95..8c77ca3a1489 100644
--- a/games/starfighter/starfighter.SlackBuild
+++ b/games/starfighter/starfighter.SlackBuild
@@ -13,9 +13,10 @@
# updated 22/07/2019 for v2.0 (2.0.0.3)
# updated 09/04/2020 for v2.1 applied workrounds for compile flag updates
# and change in source tar file.
+# updated 28/05/2020 for v2.2
PRGNAM=starfighter
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,8 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-src
-#change tar options to remove warning.
-tar -xv --warning=no-unknown-keyword -f $CWD/$PRGNAM-$VERSION-src.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
cd $PRGNAM-$VERSION-src
chown -R root:root .
find -L . \
@@ -61,10 +61,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKFLAGS"
-CXXFLAGS="$SLKCFLAGS"
-#add extra nowarn option for gcc versions<8
-./configure SF_NOWARN=1\
+CFLAGS="$SLKFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ SF_NOWARN=1 \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
diff --git a/games/starfighter/starfighter.info b/games/starfighter/starfighter.info
index 785c393d466c..27202b29ce6c 100644
--- a/games/starfighter/starfighter.info
+++ b/games/starfighter/starfighter.info
@@ -1,8 +1,8 @@
PRGNAM="starfighter"
-VERSION="2.1"
+VERSION="2.2"
HOMEPAGE="https://github.com/pr-starfighter/starfighter/"
-DOWNLOAD="https://github.com/pr-starfighter/starfighter/releases/download/v2.1/starfighter-2.1-src.tar.gz"
-MD5SUM="b2dc59a9a28389e8c7a14d3a83d946e8"
+DOWNLOAD="https://github.com/pr-starfighter/starfighter/releases/download/v2.2/starfighter-2.2-src.tar.gz"
+MD5SUM="ba11b308b6f86026dabd2c9d54ff1b15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image SDL2_mixer"