summaryrefslogtreecommitdiffstats
path: root/audio/fluid-soundfont
diff options
context:
space:
mode:
Diffstat (limited to 'audio/fluid-soundfont')
-rw-r--r--audio/fluid-soundfont/fluid-soundfont.SlackBuild16
-rw-r--r--audio/fluid-soundfont/fluid-soundfont.info2
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/fluid-soundfont/fluid-soundfont.SlackBuild b/audio/fluid-soundfont/fluid-soundfont.SlackBuild
index f2f622c26f..63e268d75d 100644
--- a/audio/fluid-soundfont/fluid-soundfont.SlackBuild
+++ b/audio/fluid-soundfont/fluid-soundfont.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fluid-soundfont
# This is basically a combined repack of Debian's fluid-soundfont-gm
@@ -8,14 +8,24 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fluid-soundfont
VERSION=${VERSION:-3.1_5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-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}
@@ -60,4 +70,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
diff --git a/audio/fluid-soundfont/fluid-soundfont.info b/audio/fluid-soundfont/fluid-soundfont.info
index f5cf592ae0..4d2753fdfd 100644
--- a/audio/fluid-soundfont/fluid-soundfont.info
+++ b/audio/fluid-soundfont/fluid-soundfont.info
@@ -7,6 +7,6 @@ MD5SUM="189bbdf70221018cbda536984b105dfa \
d577a4c8e8785739e1321f377fe5ab71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fluidsynth"
+REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"