1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
7 pkgdesc="babl is a dynamic, any to any, pixel format translation library"
9 url="http://www.gegl.org/babl"
13 depends=('glib2>=2.10' 'libpng')
16 _gitroot='git://git.gnome.org/babl'
21 msg "Connecting to gnome.org git server...."
23 if [[ -d $_gitname ]]; then
27 git clone $_gitroot $_gitname
31 msg "Starting make..."
33 [ -d "${srcdir}/${_gitname}-build" ] && rm -rf "${srcdir}/${_gitname}-build"
34 cp -a $_gitname $_gitname-build
37 ./autogen.sh --prefix=/usr
39 make DESTDIR="$pkgdir" install