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

pkgname=gnome-keyring
pkgver=3.0.3
pkgrel=1gv
source=("ftp://ftp.gnome.org/pub/gnome/sources/gnome-keyring/3.0/gnome-keyring-3.0.3.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=ftp://ftp.gnome.org/pub/gnome/sources/gnome-keyring
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gnome-keyring (GNOME keyring services)"
"gnome-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
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var/lib --sysconfdir=/etc --disable-pam --build=$arch-slackware-linux --with-gtk=2
	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
}