1 # Maintainer: kennytm <kennytm@gmail.com>
2 # Contributor: kennytm <kennytm@gmail.com>
6 pkgdesc="flux is an interface description language used by DirectFB"
8 url='http://git.directfb.org/?p=core/flux.git;a=summary'
10 makedepends=('git' 'gcc' 'autoconf')
12 provides=('flux=1.1.1')
15 _gitroot='git://git.directfb.org/git/directfb/core/flux.git'
19 msg "Connecting to git server..."
20 if [ -d $_gitname ]; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone --depth=1 $_gitroot $_gitname
26 msg "git checkout done or server timeout"
28 rm -rf "$srcdir/$_gitname-build"
29 mkdir "$srcdir/$_gitname-build"
30 cd "$srcdir/$_gitname-build"
31 autoreconf -fi "../$_gitname"
32 "../$_gitname/configure" --prefix=/usr
37 cd "$srcdir/$_gitname-build"
38 make DESTDIR="$pkgdir/" install