games/jin: Align with template.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-02-14 01:49:28 -05:00 committed by Willy Sudiarto Raharjo
parent 6bf6dce9ed
commit 9be4fa4ed3
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
# Slackware build script for jin # Slackware build script for jin
# #
@ -27,8 +27,6 @@
# This is just a repackaging of the original unix tar.gz from # This is just a repackaging of the original unix tar.gz from
# http://www.jinchess.com # http://www.jinchess.com
set -e
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jin PRGNAM=jin
@ -40,9 +38,6 @@ PKGTYPE=${PKGTYPE:-tgz}
# Independent of architecture so will throw it into /opt # Independent of architecture so will throw it into /opt
ARCH="noarch" ARCH="noarch"
# 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 if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0 exit 0