2 # Maintainer: Allan McRae <allan@archlinux.org>
3 # Contributor: Giacomo Rizzo <alt@free-os.it>
4 # Contributor: Charles-Henri d'Adhémar <cdadhemar@gmail.com>
6 pkgname=gnome-cups-manager
9 pkgdesc="A CUPS manager for the Gnome Desktop Environment"
10 arch=('i686' 'x86_64')
11 url="http://www.gnome.org"
13 depends=('libgnomecups' 'libgnomeui' 'gksu')
14 makedepends=('pkgconfig' 'intltool')
15 install=gnome-cups-manager.install
17 source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
18 md5sums=('a48eb85cd239760913c936d824062473')
21 cd "${srcdir}/${pkgname}-${pkgver}"
23 sed -i "s#gnomesu#gksu#" libgnomecups/gnome-cups-permission.c
25 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
27 make DESTDIR="${pkgdir}/" install