summaryrefslogtreecommitdiff
path: root/audio/calf/git2targz.sh
diff options
context:
space:
mode:
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 0000000000..35ec01dae5
--- /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