mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
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:
parent
7b49f3a07b
commit
cb049646cf
1 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash -e
|
||||||
# Slackware build script for <pd-psql>
|
# Slackware build script for <pd-psql>
|
||||||
# Written by Michales Michaloudes korgie@gmail.com
|
# Written by Michales Michaloudes korgie@gmail.com
|
||||||
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=pd-psql
|
PRGNAM=pd-psql
|
||||||
|
@ -12,6 +9,7 @@ VERSION=${VERSION:-2007}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i586 ;;
|
i?86) ARCH=i586 ;;
|
||||||
|
@ -19,6 +17,7 @@ if [ -z "$ARCH" ]; then
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
# 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
|
# the name of the created package would be, and then exit. This information
|
||||||
# could be useful to other scripts.
|
# could be useful to other scripts.
|
||||||
|
|
Loading…
Reference in a new issue