aboutsummaryrefslogtreecommitdiff
path: root/audio/calf/git2targz.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-22 16:19:09 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-01 07:42:24 +0700
commit78eba95f4a49e419f0d3af4cdbb77d99390295b9 (patch)
treef8a3401d3b88f4e52a4737aeac5d89b33faa9817 /audio/calf/git2targz.sh
parentc66b0025e1cf409b83a58a890d436788d3357b73 (diff)
audio/calf: Updated for version 20170622.0873978.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/calf/git2targz.sh')
-rw-r--r--audio/calf/git2targz.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/calf/git2targz.sh b/audio/calf/git2targz.sh
new file mode 100644
index 0000000000000..35ec01dae5031
--- /dev/null
+++ b/audio/calf/git2targz.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PRGNAM=calf
+URL=https://github.com/calf-studio-gear/$PRGNAM.git
+DATE=$( date +%Y%m%d )
+
+rm -rf $PRGNAM
+git clone $URL $PRGNAM
+cd $PRGNAM
+REV=$( git rev-parse --short @ )
+rm -rf .git*
+cd -
+
+VERSION=$DATE.$REV
+rm -rf $PRGNAM-$VERSION
+mv $PRGNAM $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION