1 #Contributor: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
3 pkgname=sc3-plugins-git
6 pkgdesc="Plugins for SuperCollider (Git version)"
7 url="http://supercollider.sourceforge.net/"
10 depends=('supercollider>=3.5')
11 conflicts=('supercollider-with-extras-git')
12 provides=('supercollider-with-extras-git')
15 _gitroot="git://sc3-plugins.git.sourceforge.net/gitroot/sc3-plugins/sc3-plugins"
16 _gitname="sc3-plugins"
21 if [ -d $_gitname ] ; then
22 (cd $_gitname && git pull origin && git submodule update)
23 msg "The local files are updated."
25 git clone --recursive $_gitroot
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf $_gitname-build
34 git submodule init && git submodule update
37 cp -r $_gitname $_gitname-build
40 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DSC_PATH=/home/smoge/src/supercollider -DSUPERNOVA=1 -DAY=1
48 make DESTDIR=$pkgdir/ install