diff options
Diffstat (limited to 'games/7kaa')
-rw-r--r-- | games/7kaa/7kaa.SlackBuild | 22 | ||||
-rw-r--r-- | games/7kaa/7kaa.info | 8 |
2 files changed, 20 insertions, 10 deletions
diff --git a/games/7kaa/7kaa.SlackBuild b/games/7kaa/7kaa.SlackBuild index 643cb39050..1f6dc3ed96 100644 --- a/games/7kaa/7kaa.SlackBuild +++ b/games/7kaa/7kaa.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for 7kaa -# Copyright <2016-2019> Sergio Vicari <devteamtuc@gmail.com> +# Copyright <2016-2022> Sergio Vicari <devteamtuc@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=7kaa -VERSION=${VERSION:-2.15.2} +VERSION=${VERSION:-2.15.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -60,7 +70,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/7kaa/7kaa.info b/games/7kaa/7kaa.info index 6060f0e376..09a3e895a5 100644 --- a/games/7kaa/7kaa.info +++ b/games/7kaa/7kaa.info @@ -1,10 +1,10 @@ PRGNAM="7kaa" -VERSION="2.15.2" +VERSION="2.15.6" HOMEPAGE="https://www.7kfans.com" -DOWNLOAD="https://github.com/the3dfxdude/7kaa/releases/download/v2.15.2/7kaa-2.15.2.tar.xz" -MD5SUM="abd3648aec3b8337a16f22de43ce9b19" +DOWNLOAD="https://sourceforge.net/projects/skfans/files/7KAA%202.15.6/7kaa-2.15.6.tar.gz" +MD5SUM="07522a60ad12c0411c48073e6919b5ee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="SDL2 enet OpenAL" +REQUIRES="enet" MAINTAINER="Sergio Vicari" EMAIL="devteamtuc@gmail.com" |