aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdenyhosts/denyhosts.SlackBuild6
-rwxr-xr-xdowntube/downtube.SlackBuild6
-rwxr-xr-xmunin/munin.SlackBuild5
3 files changed, 14 insertions, 3 deletions
diff --git a/denyhosts/denyhosts.SlackBuild b/denyhosts/denyhosts.SlackBuild
index 86d5082c..1cc27e94 100755
--- a/denyhosts/denyhosts.SlackBuild
+++ b/denyhosts/denyhosts.SlackBuild
@@ -20,9 +20,13 @@ ARCH="noarch"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
+REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
-slacktrack -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP/$PACKAGE
+fi
diff --git a/downtube/downtube.SlackBuild b/downtube/downtube.SlackBuild
index 012f1c7d..fd161e7f 100755
--- a/downtube/downtube.SlackBuild
+++ b/downtube/downtube.SlackBuild
@@ -20,9 +20,13 @@ ARCH="noarch"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
+REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
-slacktrack -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP/$PACKAGE
+fi
diff --git a/munin/munin.SlackBuild b/munin/munin.SlackBuild
index eef75141..dc284928 100755
--- a/munin/munin.SlackBuild
+++ b/munin/munin.SlackBuild
@@ -25,5 +25,8 @@ REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
-slacktrack -x $TMP,$SRC_DIR,/dev,/tmp -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev,/tmp -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP/$PACKAGE
+fi