# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=lxmenu-data
pkgver=0.1.5
pkgrel=1
pkgdesc="Menu definition files for LXQt"
url="https://lxqt.github.io/"
arch="noarch"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="automake autoconf glib-dev intltool"
source="lxmenu-data-$pkgver.tar.gz::https://github.com/lxde/lxmenu-data/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

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

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

sha512sums="78c56666a3d8c1e6bc7cadd4f1f9ba3236def216676808f4fa19663bf93ce59ea5b2591b20ad40373167ee3e37634844e20a2e20e445e52b255d3fbfda23f8f3  lxmenu-data-0.1.5.tar.gz"