summaryrefslogtreecommitdiff
path: root/network/pebrot/pebrot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pebrot/pebrot.SlackBuild')
-rw-r--r--network/pebrot/pebrot.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/pebrot/pebrot.SlackBuild b/network/pebrot/pebrot.SlackBuild
index 8b3a3e1db6..5884132380 100644
--- a/network/pebrot/pebrot.SlackBuild
+++ b/network/pebrot/pebrot.SlackBuild
@@ -24,18 +24,19 @@
# Modified by the SlackBuilds.org project
-set -e
-
PRGNAM=pebrot
VERSION=0.8.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -56,4 +57,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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}