summaryrefslogtreecommitdiff
path: root/multimedia/cantata/cantata.SlackBuild
diff options
context:
space:
mode:
authorRuben Schuller <ruben@orgizm.net>2014-05-19 08:49:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-19 11:01:56 +0700
commitbbc6ea6cc3069e927f6e63e265ee5453dddd867d (patch)
tree282cee05a0a94702b3a92c10f2336d7a4bc7824d /multimedia/cantata/cantata.SlackBuild
parent228ee2eef0b7f741b22f2ab9566495cf6d3820b0 (diff)
downloadslackbuilds-bbc6ea6cc3069e927f6e63e265ee5453dddd867d.tar.gz
multimedia/cantata: Updated for version 1.3.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/cantata/cantata.SlackBuild')
-rw-r--r--multimedia/cantata/cantata.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/cantata/cantata.SlackBuild b/multimedia/cantata/cantata.SlackBuild
index 9677ada3ef..26d8a77239 100644
--- a/multimedia/cantata/cantata.SlackBuild
+++ b/multimedia/cantata/cantata.SlackBuild
@@ -24,7 +24,9 @@
PRGNAM=cantata
# this could be set to "svn" to automatically pull the newest source
-VERSION=${VERSION:-r4373}
+VERSION=${VERSION:-1.3.4}
+SRCFILE=${SRCFILE:-"uc?export=download&id=0Bzghs6gQWi60WTYtaXk3c1IzNVU"}
+
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,7 +100,11 @@ rm -rf $PRGNAM-$VERSION
if [ "$VERSION" = "svn" ]; then
svn checkout http://cantata.googlecode.com/svn/trunk/ cantata-svn
else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+ if [ -f "$PRGNAM-$VERSION.tar.bz2" ]; then
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+ else
+ tar xvf $CWD/${SRCFILE}
+ fi
fi
cd $PRGNAM-$VERSION