updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / gegl-git / PKGBUILD
blob79cfd1305d8b216d089d1efac0338531e9465a7f
1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
4 pkgname=gegl-git
5 pkgver=20100707
6 pkgrel=1
7 pkgdesc="GEGL (Generic Graphics Library) is a graph based image processing framework."
8 arch=('i686' 'x86_64')
9 url="http://www.gegl.org/"
10 license=('GPL')
11 conflicts=('gegl')
12 provides=('gegl')
13 depends=('glib2>=2.10' 'babl-git' 'libpng' 'ruby')
14 makedepends=('git')
15 install=$pkgname.install
16 source=($pkgname.install)
17 md5sums=('2289b100d1d4ee9ef6b3ad02eddbc899')
19 _gitroot='git://git.gnome.org/gegl'
20 _gitname='gegl'
22 build() {
23         cd $startdir/src
24         msg "Connecting to gnome.org git server...."
26         if [[ -d $_gitname ]]; then
27                 cd $_gitname
28                 git pull origin
29         else
30                 git clone $_gitroot $_gitname
31         fi
32         msg " checkout done."
34         msg "Starting make..."
35         cd "$srcdir"
36         [ -d "${srcdir}/${_gitname}-build" ] && rm -rf "${srcdir}/${_gitname}-build"
37         cp -r $srcdir/$_gitname $_gitname-build
38         cd $_gitname-build
40         ./autogen.sh --prefix=/usr --disable-docs
41         make
42         make DESTDIR="$pkgdir" install