updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / faust-git / PKGBUILD
blob7b5be5147c1d590641e0d0ca167cdb8473ae0f51
1 # Contributor: Bernardo Barros <bernardobarros at gmail dot com>
2 # Contributor: Bjoern Lindig <bjoern.lindig at googlemail dot com>
3 pkgname=faust-git
4 pkgver=20101224
5 pkgrel=1
6 pkgdesc="A functional programming language for realtime audio signal processing."
7 arch=(i686 x86_64)
8 url="http://faust.grame.fr/"
9 license=('GPL')
10 groups=()
11 depends=('gcc-libs')
12 makedepends=('git')
13 provides=()
14 conflicts=('faust')
15 replaces=()
16 backup=()
17 options=()
18 install=
19 source=()
20 noextract=()
21 md5sums=() #generate with 'makepkg -g'
24 _gitroot="git://faudiostream.git.sourceforge.net/gitroot/faudiostream/faudiostream "
25 _gitname="faudiostream"
27 build() {
28   cd "$srcdir"
29   msg "Connecting to GIT server...."
31   if [ -d $_gitname ] ; then
32     (cd $_gitname && git pull origin)
33     msg "The local files are updated."
34   else
35     git clone $_gitroot
36   fi
38   msg "GIT checkout done or server timeout"
39   msg "Starting make..."
41   rm -rf $srcdir/$_gitname-build
42   cp -r $_gitname $_gitname-build
43   cd $_gitname-build/
45   make PREFIX=/usr || return 1
46   make PREFIX=/usr DESTDIR="$pkgdir/" install || return 1