void-packages/srcpkgs/mate-menus/template
2015-05-21 20:31:16 +02:00

32 lines
929 B
Bash

# Template file for 'mate-menus'
pkgname=mate-menus
version=1.10.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@voidlinux.eu>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dc0832bdcc60354ccfc6e898cf167b7f45778825ef2011d7fe849c10ed0ae759
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
}
}