summaryrefslogtreecommitdiffstats
path: root/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild')
-rw-r--r--games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild19
1 files changed, 5 insertions, 14 deletions
diff --git a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
index 7389a6e3b9..af7d15ca68 100644
--- a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
+++ b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
@@ -2,32 +2,24 @@
# Slackware build script for fortune-game_of_thrones
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# VERSION is the date given on the upstream site, and also the timestamp
# of the zip file.
+# 20230107 bkw: fix ARCH, make PRINT_PACKAGE_NAME work.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fortune-game_of_thrones
-VERSION=${VERSION:-20170524}
+VERSION=${VERSION:-20210128}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# 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
@@ -36,7 +28,6 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
set -e