void-packages/srcpkgs/gnome-menus/template
2019-04-28 16:45:48 +02:00

31 lines
921 B
Bash

# Template file for 'gnome-menus'
pkgname=gnome-menus
version=3.32.0
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel"
short_desc="GNOME menu specifications"
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
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=c850c64b2074265fe59e099a340b8689cf3dd4658dc9feddd2ab5e95f1a74b74
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
}
}