updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gnome-cups-manager / PKGBUILD
blob1e9efb91b41032e9ac63f276f0751a662c694250
1 # $Id: $
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
7 pkgver=0.33
8 pkgrel=6
9 pkgdesc="A CUPS manager for the Gnome Desktop Environment"
10 arch=('i686' 'x86_64')
11 url="http://www.gnome.org"
12 license=('GPL')
13 depends=('libgnomecups' 'libgnomeui' 'gksu')
14 makedepends=('pkgconfig' 'intltool')
15 install=gnome-cups-manager.install
16 options=('!libtool')
17 source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
18 md5sums=('a48eb85cd239760913c936d824062473')
20 build() {
21   cd "${srcdir}/${pkgname}-${pkgver}"
22   
23   sed -i "s#gnomesu#gksu#" libgnomecups/gnome-cups-permission.c
24   
25   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
26   make || return 1
27   make DESTDIR="${pkgdir}/" install