diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-07 02:52:42 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:16 +0700 |
commit | 3a1280772560ba59c2547d603541afe9f9463ce4 (patch) | |
tree | 0475fd6731c66eb9b6a39ca23d9a0b7bce71a4b9 /games/fortune-game_of_thrones | |
parent | df6055c0081833afbc57a1a0d7a3f50135a33d05 (diff) | |
download | slackbuilds-3a1280772560ba59c2547d603541afe9f9463ce4.tar.gz slackbuilds-3a1280772560ba59c2547d603541afe9f9463ce4.tar.xz |
games/fortune-game_of_thrones: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/fortune-game_of_thrones')
-rw-r--r-- | games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild | 12 |
1 files changed, 3 insertions, 9 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 8f9eee40a0..af7d15ca68 100644 --- a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild +++ b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild @@ -9,6 +9,8 @@ # 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 @@ -16,14 +18,7 @@ VERSION=${VERSION:-20210128} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -33,7 +28,6 @@ fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -ARCH=noarch set -e |