void-packages/srcpkgs/mate-menus/template

33 lines
915 B
Text
Raw Normal View History

2014-08-31 16:12:28 +00:00
# Template file for 'mate-menus'
pkgname=mate-menus
version=1.8.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-python"
hostmakedepends="pkg-config intltool itstool"
makedepends="python-devel glib-devel $(vopt_if gir gobject-introspection)"
short_desc="MATE menu specifications"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
checksum=0610c1c5c2348e8bcd1dae7bed808c451917a69b31d4b80de2b2f6288005b43c
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
mate-menus-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}