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

View file

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