diff options
Diffstat (limited to 'games/fortune-farscape/fortune-farscape.SlackBuild')
-rw-r--r-- | games/fortune-farscape/fortune-farscape.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/games/fortune-farscape/fortune-farscape.SlackBuild b/games/fortune-farscape/fortune-farscape.SlackBuild index ce16787d16..d8b0d2ce92 100644 --- a/games/fortune-farscape/fortune-farscape.SlackBuild +++ b/games/fortune-farscape/fortune-farscape.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for fortune-farscape -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. @@ -13,13 +13,20 @@ # specifically "Beware of Dog", "Incubator", "I-Yensch, You-Yensch", # "Twice Shy". +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-farscape VERSION=${VERSION:-20191224} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -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} @@ -41,4 +48,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |