# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=wmenu
pkgver=0.1.9
pkgrel=0
pkgdesc="Efficient dynamic menu for Wayland"
url="https://codeberg.org/adnano/wmenu"
arch="all"
license="MIT"
makedepends="meson
	libxkbcommon-dev
	pango-dev
	scdoc
	wayland-dev
	wayland-protocols
	"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/adnano/wmenu/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname"

build() {
	abuild-meson \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
cd4ee9a3bc23f676ec75a5b51403e9f14b2830960e25ca2d21b87380af9d6b2283025d3e9a7168c0221270f6bf8be7a6f4062dc3819da5c20b542d8280f515bd  wmenu-0.1.9.tar.gz
"
