# Maintainer: xiliuya # Contributor: Robert CegliƄski # Contributor: Christopher Snowhill # Contributor: Denis Zheleztsov pkgname=wlr-randr-git pkgver=v0.2.0-6-g02c69a6 pkgrel=1 pkgdesc="Utility to manage outputs of a Wayland compositor (latest git version)" arch=('x86_64') url="https://sr.ht/~emersion/wlr-randr/" license=('MIT') depends=("wayland") makedepends=("git" "meson") provides=("wlr-randr") conflicts=("wlr-randr") source=("$pkgname::git+https://git.sr.ht/~emersion/wlr-randr") sha512sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g;s/^v//' } build() { arch-meson $pkgname build meson compile -C build } package() { meson install -C build --destdir "$pkgdir" install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }