summaryrefslogtreecommitdiffstats
path: root/audio/retrovol
diff options
context:
space:
mode:
Diffstat (limited to 'audio/retrovol')
-rw-r--r--audio/retrovol/retrovol.SlackBuild20
-rw-r--r--audio/retrovol/retrovol.info10
2 files changed, 20 insertions, 10 deletions
diff --git a/audio/retrovol/retrovol.SlackBuild b/audio/retrovol/retrovol.SlackBuild
index f4627f1443..67c1c7f91c 100644
--- a/audio/retrovol/retrovol.SlackBuild
+++ b/audio/retrovol/retrovol.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for retrovol
-# Copyright 2011 David Woodfall <dave@dawoodfall.net>
+# Copyright 2011 David Woodfall <dave@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +21,13 @@
# 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=retrovol
-VERSION=${VERSION:-0.14.1}
+VERSION=${VERSION:-0.14.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,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}
@@ -93,4 +103,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/retrovol/retrovol.info b/audio/retrovol/retrovol.info
index 9342483776..42c042b385 100644
--- a/audio/retrovol/retrovol.info
+++ b/audio/retrovol/retrovol.info
@@ -1,10 +1,10 @@
PRGNAM="retrovol"
-VERSION="0.14.1"
+VERSION="0.14.2"
HOMEPAGE="https://github.com/pizzasgood/retrovol"
-DOWNLOAD="https://github.com/pizzasgood/retrovol/archive/v0.14.1/retrovol-0.14.1.tar.gz"
-MD5SUM="c61a6162c7f51eb3d86dca5a59b1a8f9"
+DOWNLOAD="https://github.com/pizzasgood/retrovol/archive/v0.14.2/retrovol-0.14.2.tar.gz"
+MD5SUM="3c038dc422060f2c8a48a68d00545093"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@dawoodfall.net"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"