#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=menu-cache
pkgver=0.3.3
pkgrel=1rl
source=("http://switch.dl.sourceforge.net/sourceforge/lxde/menu-cache-$pkgver.tar.gz")
url="http://www.lxde.org/"
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (LXDE desktop menu cache)"
"Libmenu-cache is a library creating and utilizing caches to speed up"
"the manipulation for freedesktop.org defined application menus. It can"
"be used as a replacement of libgnome-menu of gnome-menus."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make -j2 || return 1
	make install DESTDIR=$startdir/pkg
}