summaryrefslogtreecommitdiffstats
path: root/audio/jokosher
diff options
context:
space:
mode:
Diffstat (limited to 'audio/jokosher')
-rw-r--r--audio/jokosher/jokosher.SlackBuild16
-rw-r--r--audio/jokosher/jokosher.info2
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/jokosher/jokosher.SlackBuild b/audio/jokosher/jokosher.SlackBuild
index 5f36e9192d..d51c155d88 100644
--- a/audio/jokosher/jokosher.SlackBuild
+++ b/audio/jokosher/jokosher.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jokosher
@@ -32,10 +32,13 @@
# - i486 => i586
# - stop spamming /usr
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jokosher
VERSION=${VERSION:-0.11.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +48,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}
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/jokosher/jokosher.info b/audio/jokosher/jokosher.info
index 1e233c63c5..96f7190880 100644
--- a/audio/jokosher/jokosher.info
+++ b/audio/jokosher/jokosher.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://launchpad.net/jokosher/trunk/0.11.5/+download/jokosher-0.11.5.t
MD5SUM="941b1fac0a93e2963afc192545caf320"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnonlin gst0-python pyxdg"
+REQUIRES="gnonlin gst0-python"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"