# Template file for 'menu-cache'
pkgname=menu-cache
version=0.3.2
revision=6
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libglib-devel"
short_desc="LXDE freedesktop menu specification"
homepage="http://lxde.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz"
checksum=6b7c1627b5102d8301a8a3e845f673a7181a71dde32f6455abf22d03e392b89f
long_desc="
 menu-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.

 * Shorten time for loading menu entries.
 * Ease of use. (API is very similar to that of libgnome-menu)
 * Lightweight runtime library. (Parsing of the menu definition files
   are done by menu-cache-gen when the menus are really changed.)
 * Less unnecessary and complicated file monitoring.
 * Heavily reduced disk I/O."

menu-cache-devel_package() {
	depends="libglib-devel ${sourcepkg}-${version}_${revision}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

menu-cache_package() {
	pkg_install() {
		vmove usr
	}
}
