void-packages/srcpkgs/mate-menus/template

33 lines
1000 B
Bash

# Template file for 'mate-menus'
pkgname=mate-menus
version=1.28.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config gettext itstool $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel"
short_desc="MATE menu specifications"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/mate-menus/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/mate-menus-${version}.tar.xz"
checksum=cf40c75c7d6f0aad1d4969828fc62025c6222bc6a84f0bb9d6ead7e45970508d
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
}
}