# Contributor: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=waycheck
pkgver=1.6.0
pkgrel=0
pkgdesc="Simple GUI that displays the protocols implemented by a Wayland compositor"
url="https://gitlab.freedesktop.org/serebit/waycheck"
arch="all"
license="Apache-2.0"
options="!check"  # no test suite
makedepends="meson qt6-qtwayland-dev"
source="https://gitlab.freedesktop.org/serebit/waycheck/-/archive/v$pkgver/waycheck-v$pkgver.tar.bz2"
builddir="$srcdir/waycheck-v$pkgver"

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

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

sha512sums="
86d90e971c2430ce7da961ee191c2c26aa417eb0442e3d977296e8d9aa4b673bf6cd41206d6b696be71c4d1837dec3f7d0ef21675a391cd3e8344d13cecab55c  waycheck-v1.6.0.tar.bz2
"
