games/digger: Support PRINT_PACKAGE_NAME.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-01-06 15:49:59 -05:00 committed by Willy Sudiarto Raharjo
parent 99169010ee
commit 6078a6163c
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -39,6 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
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}