# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=lswt
pkgver=1.0.4
pkgrel=0
pkgdesc="List Wayland toplevels"
url="https://git.sr.ht/~leon_plickat/lswt"
license="GPL-3.0-only"
arch="all"
makedepends="wayland-dev"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/lswt/archive/v$pkgver.tar.gz"
builddir="$srcdir/lswt-v$pkgver"
options="!check" # no test suite

build() {
	make
}

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

sha512sums="
708500f09cd50acd9df4d6101c599b7a48bda274ddb2f31d138ca77b37b11cf244b2c5b473c2f13274b61458eb820aa506f9b1ad6ce517c8e5c274935e4f3443  lswt-1.0.4.tar.gz
"
