void-packages/srcpkgs/mate-menus/template
2020-09-17 22:40:42 +07:00

31 lines
919 B
Bash

# Template file for 'mate-menus'
pkgname=mate-menus
version=1.24.1
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel"
short_desc="MATE menu specifications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5a295f5403136f9cfbe0fcf567e48e624c8e01a73ca20f8685d34b12ac4bec9f
build_options="gir"
build_options_default="gir"
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
}
}