summaryrefslogtreecommitdiffstats
path: root/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild')
-rw-r--r--system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild b/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
index 9acde6ddc8..327e9df981 100644
--- a/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
+++ b/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
@@ -1,18 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for solarize-12x29-psf
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=solarize-12x29-psf
VERSION=${VERSION:-20150529}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+
+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}
@@ -39,4 +47,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