pkgname=mate-polkit pkgver=2011.11.16 pkgrel=1 pkgdesc="PolicyKit integration for the MATE desktop" arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/PolicyKit" license=('LGPL') depends=('polkit>=0.101' 'gtk2') makedepends=('intltool' 'gobject-introspection') options=('!emptydirs' '!libtool') source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) sha256sums=('acd95c8ded1a5446b0d199b7fd1a88cdb4b4975343667cadc7737ebf171c4cdb') url="http://matsusoft.com.ar/projects" groups=('mate') build() { cd "${srcdir}/${pkgname}" ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/polkit-mate \ --disable-static || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install || return 1 }