development/pd-psql: 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:59:07 -05:00 committed by Willy Sudiarto Raharjo
parent 7b49f3a07b
commit cb049646cf
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -1,10 +1,7 @@
#!/bin/bash
#!/bin/bash -e
# Slackware build script for <pd-psql>
# Written by Michales Michaloudes korgie@gmail.com
set -e
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pd-psql
@ -12,6 +9,7 @@ VERSION=${VERSION:-2007}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@ -19,6 +17,7 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
# 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.