void-packages/srcpkgs/menu-cache/template

29 lines
804 B
Bash
Raw Normal View History

# Template file for 'menu-cache'
pkgname=menu-cache
version=1.0.0
2015-03-14 10:20:22 +01:00
revision=3
build_style=gnu-configure
configure_args="--disable-static"
2013-04-15 17:35:43 +02:00
hostmakedepends="pkg-config"
makedepends="libglib-devel libfm-extra-devel"
short_desc="LXDE freedesktop menu specification"
2013-03-31 09:51:32 +02:00
homepage="http://lxde.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
checksum=ff7df437bbfd3119c5f662c6d209b98f15de03a7203308c6b56a4c1e1d419aaf
2015-03-14 10:20:22 +01:00
pre_configure() {
sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
}
menu-cache-devel_package() {
2015-03-14 10:20:22 +01:00
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-21 14:51:25 +01:00
vmove "usr/lib/*.so"
}
}