# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-polkit pkgver=1.20.1 pkgrel=0 pkgdesc="MATE Authentication Agent for PolicyKit" url="https://github.com/mate-desktop/mate-polkit" arch="all" license="GPL-2.0" depends="mate-common" makedepends="polkit-dev libtool intltool gtk+3.0-dev gobject-introspection-dev" subpackages="$pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --enable-static=no \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="8e657c2783a575f634e5003d4225c438d92fdc100d313ba33e708f8454953ef335e38b0a83d975f990dcdac1cb36506cf6da32d729a2fac537995cddace0b8fd mate-polkit-1.20.1.tar.xz"