#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=mate-keyring
pkgver=1.4.0
pkgrel=1gv
source=("http://pub.mate-desktop.org/releases/1.4/mate-keyring-1.4.0.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"mate-keyring (MATE keyring services)"
"mate-keyring is a daemon in the session, similar to ssh-agent, and"
"other applications can use it to store passwords and other sensitive"
"information."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./autogen.sh --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var/lib --sysconfdir=/etc --disable-pam --build=$arch-slackware-linux --with-gtk=2.0
	make || return 1
	make install DESTDIR=$startdir/pkg
	
	sed -i "/^OnlyShowIn=/d" $startdir/pkg/etc/xdg/autostart/*.desktop

	rm -rf $startdir/pkg/usr/share/gtk-doc
}