summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Tim Dickson <dickson.tim@googlemail.com>2019-07-25 02:49:51 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-27 08:06:16 +0700
commit51c77022edef63fde47dbbc63323880febdc8e4a (patch)
treea8a475c773ff172c7d8f62ba9614bc3d38db287d
parentd55b879e63d492f33053fadd6edb7e8c34d9a57f (diff)
downloadslackbuilds-51c77022edef63fde47dbbc63323880febdc8e4a.tar.gz
slackbuilds-51c77022edef63fde47dbbc63323880febdc8e4a.tar.xz
games/starfighter: Updated for version 2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--games/starfighter/starfighter.SlackBuild5
-rw-r--r--games/starfighter/starfighter.info8
2 files changed, 7 insertions, 6 deletions
diff --git a/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild
index 4ffd82f3a5..d8914e70f4 100644
--- a/games/starfighter/starfighter.SlackBuild
+++ b/games/starfighter/starfighter.SlackBuild
@@ -10,9 +10,10 @@
# so separate one not needed.
# 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)
PRGNAM=starfighter
-VERSION=${VERSION:-1.7}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,7 +58,6 @@ 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 {} \;
-#new make file uses automake.
CFLAGS="$SLKFLAGS"
CXXFLAGS="$SLKCFLAGS"
./configure \
@@ -68,6 +68,7 @@ CXXFLAGS="$SLKCFLAGS"
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
+
make
make install DESTDIR=$PKG
diff --git a/games/starfighter/starfighter.info b/games/starfighter/starfighter.info
index 796b4aeb08..ec53d72540 100644
--- a/games/starfighter/starfighter.info
+++ b/games/starfighter/starfighter.info
@@ -1,8 +1,8 @@
PRGNAM="starfighter"
-VERSION="1.7"
-HOMEPAGE="http://www.nongnu.org/starfighter/"
-DOWNLOAD="http://download-mirror.savannah.gnu.org/releases/starfighter/1.7/starfighter-1.7-src.tar.gz"
-MD5SUM="dfaa649221a3997ec7eddbf2dbdeb6a0"
+VERSION="2.0"
+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_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image SDL2_mixer"