diff options
Diffstat (limited to 'audio/tuxguitar')
-rw-r--r-- | audio/tuxguitar/tuxguitar.SlackBuild | 16 | ||||
-rw-r--r-- | audio/tuxguitar/tuxguitar.info | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild index c7bb40c6ed..9c4e651f95 100644 --- a/audio/tuxguitar/tuxguitar.SlackBuild +++ b/audio/tuxguitar/tuxguitar.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for TuxGuitar # @@ -23,10 +23,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=tuxguitar VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,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} @@ -140,4 +150,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/tuxguitar/tuxguitar.info b/audio/tuxguitar/tuxguitar.info index a38af9151b..5f13d80ea3 100644 --- a/audio/tuxguitar/tuxguitar.info +++ b/audio/tuxguitar/tuxguitar.info @@ -5,6 +5,6 @@ DOWNLOAD="https://vorboss.dl.sourceforge.net/project/tuxguitar/TuxGuitar/TuxGuit MD5SUM="109ae97dda2138b06b95ac8e3be02be7" DOWNLOAD_x86_64="https://vorboss.dl.sourceforge.net/project/tuxguitar/TuxGuitar/TuxGuitar-1.5.1/tuxguitar-1.5.1-linux-x86_64.tar.gz" MD5SUM_x86_64="53cfba7fb252e19e8f11e98fe5b8a4b1" -REQUIRES="jdk" +REQUIRES="zulu-openjdk8" MAINTAINER="Ekin Akoglu" EMAIL="ekinakoglu@gmail.com" |