summaryrefslogtreecommitdiff
path: root/audio/freepats/freepats.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/freepats/freepats.SlackBuild')
-rw-r--r--audio/freepats/freepats.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/freepats/freepats.SlackBuild b/audio/freepats/freepats.SlackBuild
index b774634b56..6ae8bb8fb8 100644
--- a/audio/freepats/freepats.SlackBuild
+++ b/audio/freepats/freepats.SlackBuild
@@ -3,23 +3,24 @@
# Slackware build script for freepats
# Written by Kyle Guinn <elyk03@gmail.com>
-set -e
-
PRGNAM=freepats
VERSION=20060219
ARCH=noarch
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
rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .