summaryrefslogtreecommitdiff
path: root/community/wlsunset/APKBUILD
blob: ff02528a7a3d868fbb72bad4c4626a6abd4c57ec (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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlsunset
pkgver=0.2.0
pkgrel=1
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 --print-errorlogs -C output
}

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

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