#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=mate-polkit
pkgver=1.26.0
_majorver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1gv
source=("http://pub.mate-desktop.org/releases/${_majorver}/mate-polkit-${pkgver}.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"mate-polkit (PolicyKit integration for the MATE desktop)"
"PolicyKit-mate provides an Authentication Agent for PolicyKit that"
"integrates well with the MATE desktop environment."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./autogen.sh --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}