# Contributor: Jakub Jirutka # Maintainer: pkgname=kanshi pkgver=1.0.0 pkgrel=1 pkgdesc="Dynamic display configuration for Wayland" url="https://github.com/emersion/kanshi" arch="all" license="MIT" makedepends="cmake meson scdoc wayland-dev" subpackages="$pkgname-doc" source="https://github.com/emersion/kanshi/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz no-maybe-uninitialized.patch " builddir="$srcdir/$pkgname-$pkgver" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=debugoptimized \ . output ninja -C output } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="2d31cd9dcdf804a098bb462a8a7fcbfdba910a708146d8e20f4bbb1de73f134927a3adee9853ad01490d4e1c374a0fb7f984698cf52599def23685a7c926c6b0 kanshi-1.0.0.tar.gz 0238357da5e819112b83deca6d998c66c53a0504e9fd8767b06454630419f4a24ad7bda4943cb00b701e8e20b00c25fb95539a68bc8e8109c1a477122f9bb420 no-maybe-uninitialized.patch"