mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
df6055c008
commit
3a12807725
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue