diff options
Diffstat (limited to 'taler-merchant/taler-merchant.SlackBuild')
-rw-r--r--[-rwxr-xr-x] | taler-merchant/taler-merchant.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/taler-merchant/taler-merchant.SlackBuild b/taler-merchant/taler-merchant.SlackBuild index 3c7742c..2b40578 100755..100644 --- a/taler-merchant/taler-merchant.SlackBuild +++ b/taler-merchant/taler-merchant.SlackBuild @@ -1,9 +1,12 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=taler-merchant VERSION=${VERSION:-0.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_slackcoder} +PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -13,8 +16,12 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) -TMP=${TMP:-/tmp/sky} +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} @@ -90,4 +97,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 |