diff options
Diffstat (limited to 'www/apps')
-rwxr-xr-x | www/apps/moin/moin.SlackBuild | 8 | ||||
-rwxr-xr-x | www/apps/trac/trac.SlackBuild | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/www/apps/moin/moin.SlackBuild b/www/apps/moin/moin.SlackBuild index 24d2b911..cdaa5911 100755 --- a/www/apps/moin/moin.SlackBuild +++ b/www/apps/moin/moin.SlackBuild @@ -35,7 +35,13 @@ REPOS=${REPOS:=$TMP} rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS -slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +export PACKAGE VERSION ARCH BUILD SRC_DIR TMP REPOS + +if which simpletrack &> /dev/null; then + simpletrack $PACKAGE.build +else + slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +fi if [ "$CLEANUP" == "yes" ]; then rm -rf $TMP/$PACKAGE diff --git a/www/apps/trac/trac.SlackBuild b/www/apps/trac/trac.SlackBuild index d97b26db..090ad568 100755 --- a/www/apps/trac/trac.SlackBuild +++ b/www/apps/trac/trac.SlackBuild @@ -35,7 +35,13 @@ REPOS=${REPOS:=$TMP} rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS -slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +export PACKAGE VERSION ARCH BUILD SRC_DIR TMP REPOS + +if which simpletrack &> /dev/null; then + simpletrack $PACKAGE.build +else + slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +fi if [ "$CLEANUP" == "yes" ]; then rm -rf $TMP/$PACKAGE |