# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlr-randr
pkgver=0.4.1
pkgrel=0
pkgdesc="Utility to manage outputs of a Wayland compositor"
url="https://sr.ht/~emersion/wlr-randr/"
license="MIT"
arch="all"
makedepends="meson wayland-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/wlr-randr/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no test suite

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

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

sha512sums="
42e58b14b1202bcf2d8b8c544d09aa11f1b7ada2b2796006651564c6f839c1e90a2adddf9a868f3858ea1af64cbd003927337fc1be957acdfa29d63c45a54d08  wlr-randr-0.4.1.tar.gz
"
