]> git.rmz.io Git - dotfiles.git/blobdiff - bin/makeclem
merge bin from shada
[dotfiles.git] / bin / makeclem
diff --git a/bin/makeclem b/bin/makeclem
new file mode 100755 (executable)
index 0000000..788de8a
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+SRC_PATH=~/src
+CLEM=clementine
+DIR=$SRC_PATH/$CLEM
+LOG=$DIR/build.log
+
+PWD=`pwd`
+if [ ! -d $DIR ]; then
+    svn co http://clementine-player.googlecode.com/svn/trunk/ $DIR
+fi
+cd $DIR
+echo `date` > $LOG
+svn up --accept theirs-full >> $LOG
+cd bin
+cmake .. >> $LOG
+make >> $LOG
+cd $PWD
+