28 lines
804 B
Bash
28 lines
804 B
Bash
# Template file for 'menu-cache'
|
|
pkgname=menu-cache
|
|
version=1.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel libfm-extra-devel"
|
|
short_desc="LXDE freedesktop menu specification"
|
|
homepage="http://lxde.org/"
|
|
license="GPL-2"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
|
|
checksum=0ac72649919946070258320aafc320467dd040bcef7b3a225e2ab7241ddffd59
|
|
|
|
pre_configure() {
|
|
sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
|
|
}
|
|
|
|
menu-cache-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|