summaryrefslogtreecommitdiffstats
path: root/games/uqm_voice/uqm_voice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/uqm_voice/uqm_voice.SlackBuild')
-rw-r--r--games/uqm_voice/uqm_voice.SlackBuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/games/uqm_voice/uqm_voice.SlackBuild b/games/uqm_voice/uqm_voice.SlackBuild
index a24530eb0a..b052cb90fa 100644
--- a/games/uqm_voice/uqm_voice.SlackBuild
+++ b/games/uqm_voice/uqm_voice.SlackBuild
@@ -1,20 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uqm_voice
-# 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.
# 20201026 bkw: updated for v0.8.0
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uqm_voice
VERSION=${VERSION:-0.8.0}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -33,4 +40,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