diff options
Diffstat (limited to 'taler-exchange/taler-exchange.SlackBuild')
-rw-r--r--[-rwxr-xr-x] | taler-exchange/taler-exchange.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/taler-exchange/taler-exchange.SlackBuild b/taler-exchange/taler-exchange.SlackBuild index 4b29f5a..b730222 100755..100644 --- a/taler-exchange/taler-exchange.SlackBuild +++ b/taler-exchange/taler-exchange.SlackBuild @@ -1,9 +1,12 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=taler-exchange VERSION=${VERSION:-0.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_slackcoder} +PKGTYPE=${PKGTYPE:-_slackcoder} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -13,7 +16,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -91,4 +98,4 @@ chmod g+w $PKG/var/log/taler chmod -R u=rwX,g=rX,o= $PKG/etc/taler/secrets/* cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.10.2-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.10.2-$ARCH-$BUILD$TAG.$PKGTYPE |