aboutsummaryrefslogtreecommitdiffstats
path: root/community/wlsunset/APKBUILD
blob: e0f027ee6a23bafc3be4e6c4bd3d375a67566cf2 (plain) (blame)
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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlsunset
pkgver=0.2.0
pkgrel=0
pkgdesc="Day/night gamma adjustments for Wayland"
url="https://git.sr.ht/~kennylevinsen/wlsunset"
license="MIT"
arch="all"
makedepends="meson wayland-dev wayland-protocols scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/wlsunset/archive/$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

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

sha512sums="41f0c543fdb6d59ca2ccaada34a90bb51175afcc611736a70045ea3c3035a7276b7d4482abc6c062bcbf462fe398d905a73a64e5fdc89061a1935ad69fef0061  wlsunset-0.2.0.tar.gz"