void-packages/srcpkgs/menu-cache/template

31 lines
836 B
Bash

# Template file for 'menu-cache'
pkgname=menu-cache
version=1.1.0
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libglib-devel libfm-extra-devel"
short_desc="LXDE freedesktop menu specification"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://lxde.org/"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
CFLAGS="-fcommon"
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"
}
}