aports/community/wlsunset/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

39 lines
1.5 KiB
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlsunset
pkgver=0.4.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 $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/wlsunset/archive/$pkgver.tar.gz
README.alpine
wlsunset.initd
wlsunset.confd"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -Dm644 "$srcdir"/README.alpine -t "$pkgdir"/usr/share/doc/$pkgname
install -Dm755 "$srcdir"/wlsunset.initd "$pkgdir"/etc/user/init.d/wlsunset
install -Dm644 "$srcdir"/wlsunset.confd "$pkgdir"/etc/user/conf.d/wlsunset
}
sha512sums="
f72a067a5458931a6394bbccfa1ec5d3790beb5ccce42f2ad865ac6e839c5996363c0806636e337358c8d14cd0a73cb3db37bfc6f3faf26fee2e40a837f69efa wlsunset-0.4.0.tar.gz
7bf0a3094ec380ad8aee1bc2064d9fc9ab427e4ecc6f0161dc195d595aa934ff6751dd1a0aebe6c376e4b2e7161c1de2ae49c849d3895a779d16485f9ec3acd4 README.alpine
d55634d9b1a07ccc74b744a3abd00f69f16d8845804d6bdfb22c38a9eb1375b9d11a05fe501e257cb3026691a7e3ad24d9a708ed29c0b3255f8bbe5578e76c5f wlsunset.initd
e4afefbf5928b1a968138422baa525b0524521a0138807f17ff90c7e095e8ef3cd8feb5e1b99b9ffd954ccbb4ff9407e953136d440b034440a4645aab5189417 wlsunset.confd
"