summaryrefslogtreecommitdiffstats
path: root/audio/drumkv1
diff options
context:
space:
mode:
Diffstat (limited to 'audio/drumkv1')
-rw-r--r--audio/drumkv1/drumkv1.SlackBuild16
-rw-r--r--audio/drumkv1/drumkv1.info2
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild
index e42e448d68..407784e421 100644
--- a/audio/drumkv1/drumkv1.SlackBuild
+++ b/audio/drumkv1/drumkv1.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for drumkv1
@@ -19,10 +19,13 @@
# 20170627 bkw: update for 0.8.3
# 20170614 bkw: update for 0.8.2, drop qt5 dep, build with qt4
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=drumkv1
VERSION=${VERSION:-0.9.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,7 +35,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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
+# could be useful to other scripts.
+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}
@@ -120,4 +130,4 @@ if [ "${SETCAP:-yes}" = "yes" ]; then
fi
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
diff --git a/audio/drumkv1/drumkv1.info b/audio/drumkv1/drumkv1.info
index 7c787bab14..dd58fcb6fd 100644
--- a/audio/drumkv1/drumkv1.info
+++ b/audio/drumkv1/drumkv1.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.18/drumk
MD5SUM="c09af8aee0ae2be7ecb5d6d2533bb2af"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jack qt5"
+REQUIRES="jack"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"