summaryrefslogtreecommitdiff
path: root/network/pebrot/pebrot.SlackBuild
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-13 00:37:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:37:50 +0200
commitf8b0fac13127827c00cfaf09185d6c0a66686f94 (patch)
tree5f3a7f06b04deaa4c525ee9cb8fa808a90ab6ba8 /network/pebrot/pebrot.SlackBuild
parent1d0ec410003ee7ec3ac7f787c0b57f8e3c676043 (diff)
downloadslackbuilds-f8b0fac13127827c00cfaf09185d6c0a66686f94.tar.gz
network/pebrot: Updated for version 0.8.8
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}