aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2020-04-10 00:56:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-10 00:56:10 +0700
commit22ac1a019a0bbc05878702cff1bcfce3888e9165 (patch)
treee867f135b815deb6bcf8e375d6e65e62ade91ba0
parentdec1e9be829a5b962a89b3e4ca8620aa2dbd995e (diff)
games/starfighter: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/starfighter/starfighter.SlackBuild10
-rw-r--r--games/starfighter/starfighter.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild
index d8914e70f40a1..81ba01725b957 100644
--- a/games/starfighter/starfighter.SlackBuild
+++ b/games/starfighter/starfighter.SlackBuild
@@ -11,9 +11,11 @@
# doc location still changed to support slackware prefered location
# updated 05/03/2017 for v1.7
# 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.
PRGNAM=starfighter
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,7 +51,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-src
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+#change tar options to remove warning.
+tar -xv --warning=no-unknown-keyword -f $CWD/$PRGNAM-$VERSION-src.tar.gz
cd $PRGNAM-$VERSION-src
chown -R root:root .
find -L . \
@@ -60,7 +63,8 @@ find -L . \
CFLAGS="$SLKFLAGS"
CXXFLAGS="$SLKCFLAGS"
-./configure \
+#add extra nowarn option for gcc versions<8
+./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 ec53d725403f7..785c393d466ca 100644
--- a/games/starfighter/starfighter.info
+++ b/games/starfighter/starfighter.info
@@ -1,8 +1,8 @@
PRGNAM="starfighter"
-VERSION="2.0"
+VERSION="2.1"
HOMEPAGE="https://github.com/pr-starfighter/starfighter/"
-DOWNLOAD="https://github.com/pr-starfighter/starfighter/releases/download/v2.0.0.3/starfighter-2.0-src.tar.gz"
-MD5SUM="dcb7da670b84acfc25cf146df3033045"
+DOWNLOAD="https://github.com/pr-starfighter/starfighter/releases/download/v2.1/starfighter-2.1-src.tar.gz"
+MD5SUM="b2dc59a9a28389e8c7a14d3a83d946e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image SDL2_mixer"