summaryrefslogtreecommitdiffstats
path: root/audio/gusersoundfont
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gusersoundfont')
-rw-r--r--audio/gusersoundfont/gusersoundfont.SlackBuild16
-rw-r--r--audio/gusersoundfont/gusersoundfont.info2
-rw-r--r--audio/gusersoundfont/slack-desc24
3 files changed, 26 insertions, 16 deletions
diff --git a/audio/gusersoundfont/gusersoundfont.SlackBuild b/audio/gusersoundfont/gusersoundfont.SlackBuild
index a2bbc60579..e02ff09062 100644
--- a/audio/gusersoundfont/gusersoundfont.SlackBuild
+++ b/audio/gusersoundfont/gusersoundfont.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gusersoundfont (general user soundfont)
#
# Copyright 2019 Tim Dickson, email: dickson dot tim at googlemail.com
@@ -21,15 +21,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gusersoundfont
VERSION=${VERSION:-1.471}
ZIPNAME="GeneralUser_GS_"$VERSION".zip"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
#this is a data package so no arch
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}
@@ -61,4 +71,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/gusersoundfont/gusersoundfont.info b/audio/gusersoundfont/gusersoundfont.info
index a58b9402d8..b5976e96ee 100644
--- a/audio/gusersoundfont/gusersoundfont.info
+++ b/audio/gusersoundfont/gusersoundfont.info
@@ -1,6 +1,6 @@
PRGNAM="gusersoundfont"
VERSION="1.471"
-HOMEPAGE="http://www.schristiancollins.com/generaluser.php"
+HOMEPAGE="https://www.schristiancollins.com/generaluser.php"
DOWNLOAD="https://www.dropbox.com/s/4x27l49kxcwamp5/GeneralUser_GS_1.471.zip"
MD5SUM="5eaa95224f6080864cf6aedc1c9820a6"
DOWNLOAD_x86_64=""
diff --git a/audio/gusersoundfont/slack-desc b/audio/gusersoundfont/slack-desc
index 71dc28a3cc..bbaee63535 100644
--- a/audio/gusersoundfont/slack-desc
+++ b/audio/gusersoundfont/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-gssoundfont: gssoundfont (A sound font)
-gssoundfont:
-gssoundfont: This is a soundfont created by S.Christian Collins
-gssoundfont: it is for use with fluidsynth 1.0.9 or later, apps built with
-gssoundfont: fluidsynth (eg vlc), MuseScore, and a number of other related
-gssoundfont: software programs. It is licensed under a permisive license
-gssoundfont: which allows use for personal and comercial production.
-gssoundfont:
-gssoundfont: http://www.schristiancollins.com/generaluser.php
-gssoundfont:
-gssoundfont:
+ |-----handy-ruler------------------------------------------------------|
+gusersoundfont: gusersoundfont (A sound font)
+gusersoundfont:
+gusersoundfont: This is a soundfont created by S.Christian Collins.
+gusersoundfont: It is for use with fluidsynth 1.0.9 or later, apps built with
+gusersoundfont: fluidsynth (eg vlc), MuseScore, and a number of other related
+gusersoundfont: software programs. It is licensed under a permissive license
+gusersoundfont: which allows use for personal and comercial production.
+gusersoundfont:
+gusersoundfont: Homepage: http://www.schristiancollins.com/generaluser.php
+gusersoundfont:
+gusersoundfont: