blob: 68c3d727c3bcf6dc55c08ab0bd3e7594494cbc10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer:
pkgname=kanshi
pkgver=1.0.0
pkgrel=0
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=release \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="2d31cd9dcdf804a098bb462a8a7fcbfdba910a708146d8e20f4bbb1de73f134927a3adee9853ad01490d4e1c374a0fb7f984698cf52599def23685a7c926c6b0 kanshi-1.0.0.tar.gz
0238357da5e819112b83deca6d998c66c53a0504e9fd8767b06454630419f4a24ad7bda4943cb00b701e8e20b00c25fb95539a68bc8e8109c1a477122f9bb420 no-maybe-uninitialized.patch"
|