diff options
Diffstat (limited to 'net/im/silc-client/silc-client.SlackBuild')
-rwxr-xr-x | net/im/silc-client/silc-client.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/im/silc-client/silc-client.SlackBuild b/net/im/silc-client/silc-client.SlackBuild index ab97890b..fbaddcd3 100755 --- a/net/im/silc-client/silc-client.SlackBuild +++ b/net/im/silc-client/silc-client.SlackBuild @@ -44,10 +44,12 @@ SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} +PKG_VERSION="`echo $VERSION | sed -e 's/-/_/g'`" + rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE -slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$PKG_VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" if [ "$CLEANUP" == "yes" ]; then rm -rf $TMP/$PACKAGE |