# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-menus
pkgver=1.28.0
pkgrel=0
pkgdesc="The libmate-menu library, the layout configuration files for the MATE menu, as well as a simple menu editor"
url="https://github.com/mate-desktop/mate-menus"
arch="all"
license="GPL-2.0-or-later"
depends="mate-common"
makedepends="libtool intltool glib-dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-menus-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--sysconfdir=/etc \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
23baff3fc76d19df82fc36a94f1178a96cfec2aa57171b0d4839ff1d431e56169f09a277254cf3991fd5bb3d7f8c2d67cb41f30e94cedd50c934b561793d15af  mate-menus-1.28.0.tar.xz
"
