1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Adam Hani Schakaki <krzd@krzd.net>
3 # Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
8 pkgdesc="Scanning infrastructure and utilities"
10 url="http://projects.gnome.org/gnome-scan/"
12 depends=('sane' 'gegl>=0.1.0' 'gconf' 'hicolor-icon-theme' 'xdg-utils')
13 makedepends=('gimp>=2.2' 'intltool>=0.35.0')
15 install=$pkgname.install
16 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
18 md5sums=('44e5341f40a75ebe5cbb8d85becb8f2c'
19 'cc7acb5308e0c6e07578206524b760aa')
22 cd "$srcdir/$pkgname-$pkgver"
23 patch -Np1 -i "$srcdir/gegl-0.1.0.patch"
25 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
27 CFLAGS="$CFLAGS `pkg-config --libs gthread-2.0`"
32 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir/" install