aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kanshi/APKBUILD
blob: 881d96effe5d85f282053e24ab769938ba618a48 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                                                    

              
        



                                                   

                                     
                          

                                                                                           






                                         
                                   









                                                                                                                                                                 
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=kanshi
pkgver=1.0.0
pkgrel=3
pkgdesc="Dynamic display configuration for Wayland"
url="https://github.com/emersion/kanshi"
arch="all"
license="MIT"
options="!check" # no test suite
makedepends="meson scdoc wayland-dev"
subpackages="$pkgname-doc"
source="https://github.com/emersion/kanshi/releases/download/v$pkgver/kanshi-$pkgver.tar.gz
	no-maybe-uninitialized.patch"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="2d31cd9dcdf804a098bb462a8a7fcbfdba910a708146d8e20f4bbb1de73f134927a3adee9853ad01490d4e1c374a0fb7f984698cf52599def23685a7c926c6b0  kanshi-1.0.0.tar.gz
0238357da5e819112b83deca6d998c66c53a0504e9fd8767b06454630419f4a24ad7bda4943cb00b701e8e20b00c25fb95539a68bc8e8109c1a477122f9bb420  no-maybe-uninitialized.patch"