void-packages/srcpkgs/gnome-menus/template

32 lines
928 B
Bash

# Template file for 'gnome-menus'
pkgname=gnome-menus
version=3.36.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config gettext-devel $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel"
short_desc="GNOME menu specifications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-menus"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d9348f38bde956fc32753b28c1cde19c175bfdbf1f4d5b06003b3aa09153bb1f
build_options="gir"
build_options_default="gir"
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 [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}