summaryrefslogtreecommitdiff
path: root/network/yate/yate.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/yate/yate.SlackBuild')
-rw-r--r--network/yate/yate.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/yate/yate.SlackBuild b/network/yate/yate.SlackBuild
index 005f99c086..e494cb8877 100644
--- a/network/yate/yate.SlackBuild
+++ b/network/yate/yate.SlackBuild
@@ -4,10 +4,12 @@
# Michales (clavisound) Michaloudes korgie@gmail.com <2013>
PRGNAM=yate
-VERSION=${VERSION:-4.3.0-1}
+VERSION=${VERSION:-4.3.0_1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -39,7 +41,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
# canonicalize temp folder
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION