void-packages/srcpkgs/gnome-menus/template

33 lines
913 B
Bash

# Template file for 'gnome-menus'
pkgname=gnome-menus
version=3.13.3
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel"
short_desc="GNOME menu specifications"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=7c446eb8ff381df52b8ba04e5886497595e84d1bc46caf7af764d894736c654e
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
gnome-menus-devel_package() {
depends="glib-devel gnome-menus>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ -n "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}