diff options
Diffstat (limited to 'net/p2p/nicotine/nicotine+.SlackBuild')
-rwxr-xr-x | net/p2p/nicotine/nicotine+.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/p2p/nicotine/nicotine+.SlackBuild b/net/p2p/nicotine/nicotine+.SlackBuild index 59638998..16fe1f50 100755 --- a/net/p2p/nicotine/nicotine+.SlackBuild +++ b/net/p2p/nicotine/nicotine+.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 |