1 # Maintainer: bjoern lindig (bjoern _dot_ lindig _at_ google.com)
7 url="http://faust.grame.fr/"
13 conflicts=('faust-cvs' 'faust-git')
18 source=(Makefile.unix-faust2.diff)
20 md5sums=('6c8fb962545de2f7abc5270dedef64a5')
22 _gitroot="git://faudiostream.git.sourceforge.net/gitroot/faudiostream/faudiostream"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
34 cd $_gitname && git checkout -b faust2 origin/faust2
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_gitname-build"
41 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
43 cd "${srcdir}/${_gitname}-build/compiler" || return 1
44 patch -uN -i ../../Makefile.unix-faust2.diff || return 1
46 cd "$srcdir/$_gitname-build"
51 #./autogen.sh || return 1
52 #./configure --prefix=/usr || return 1
53 make PREFIX=/usr/ || return 1
54 make PREFIX=/usr/ DESTDIR="$pkgdir/" install || return 1