diff --git a/testing/wlsunset/APKBUILD b/testing/wlsunset/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..2292e4594811d182abfcadfb3b7017a81c75f2b4 --- /dev/null +++ b/testing/wlsunset/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Michał Polański +# Maintainer: Michał Polański +pkgname=wlsunset +pkgver=0.1.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" +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="375bb5d9e8c90c0d6f57059b99725473113701fc0469f73ccbc76e916eb938f2d1d342308fb832c4e160485deeb4c48376cacb871722f02309e13264d3154157 wlsunset-0.1.0.tar.gz"