aboutsummaryrefslogtreecommitdiff
path: root/network/yate/yate.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-24 11:07:35 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-24 19:23:45 +0700
commit1d8c6aae38c243b2fd462832a46848376057c469 (patch)
tree7f03992b0399672c59700957f08cd6c821117585 /network/yate/yate.SlackBuild
parent24dde203cbe46cd907f754e72d242b533d6bdb4e (diff)
downloadslackbuilds-1d8c6aae38c243b2fd462832a46848376057c469.tar.xz
network/yate: Fixed version numbering.
Was using a hyphen in VERSION. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 005f99c08670..e494cb88772f 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