diff options
Diffstat (limited to 'games/instead')
-rw-r--r-- | games/instead/instead.SlackBuild | 18 | ||||
-rw-r--r-- | games/instead/instead.info | 8 |
2 files changed, 18 insertions, 8 deletions
diff --git a/games/instead/instead.SlackBuild b/games/instead/instead.SlackBuild index 60edb5e630..815748ffe0 100644 --- a/games/instead/instead.SlackBuild +++ b/games/instead/instead.SlackBuild @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for INSTEAD # Written by Andrew Lobanov <spline @ rooker dot ru> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=instead -VERSION=${VERSION:-3.3.2} +VERSION=${VERSION:-3.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -16,7 +19,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} @@ -85,4 +95,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/instead/instead.info b/games/instead/instead.info index a32b86adce..a5ad990a24 100644 --- a/games/instead/instead.info +++ b/games/instead/instead.info @@ -1,10 +1,10 @@ PRGNAM="instead" -VERSION="3.3.2" +VERSION="3.5.0" HOMEPAGE="https://instead-hub.github.io/en/" -DOWNLOAD="https://github.com/instead-hub/instead/releases/download/3.3.2/instead_3.3.2.tar.gz" -MD5SUM="c0d764e9766b6bd63e422e0c07bdc022" +DOWNLOAD="https://github.com/instead-hub/instead/releases/download/3.5.0/instead_3.5.0.tar.gz" +MD5SUM="b2c3c01f515d541318fbab54572f0479" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="luajit SDL2_mixer SDL2_image SDL2_ttf" +REQUIRES="luajit" MAINTAINER="Andrew Lobanov" EMAIL="spline1986@gmail.com" |