updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / gnome-scan / PKGBUILD
blob07924d8d605a946a41e1e1c46c0b1a6b4248e57c
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>
5 pkgname=gnome-scan
6 pkgver=0.7.2
7 pkgrel=3
8 pkgdesc="Scanning infrastructure and utilities"
9 arch=('i686' 'x86_64')
10 url="http://projects.gnome.org/gnome-scan/"
11 license=('GPL')
12 depends=('sane' 'gegl>=0.1.0' 'gconf' 'hicolor-icon-theme' 'xdg-utils')
13 makedepends=('gimp>=2.2' 'intltool>=0.35.0')
14 options=('!libtool')
15 install=$pkgname.install
16 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
17         gegl-0.1.0.patch)
18 md5sums=('44e5341f40a75ebe5cbb8d85becb8f2c'
19          'cc7acb5308e0c6e07578206524b760aa')
21 build() {
22   cd "$srcdir/$pkgname-$pkgver"
23   patch -Np1 -i "$srcdir/gegl-0.1.0.patch"
25   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
26               --disable-static \
27               CFLAGS="$CFLAGS `pkg-config --libs gthread-2.0`"
28   make
31 package() {
32   cd "$srcdir/$pkgname-$pkgver"
34   make DESTDIR="$pkgdir/" install