# Contributor: Rasmus Thomsen # Maintainer: Luca Weiss pkgname=openrc-settingsd pkgver=1.4.0 pkgrel=0 pkgdesc="System settings D-Bus service for OpenRC" url="https://gitlab.com/postmarketOS/openrc-settingsd" arch="all" license="GPL-2.0-or-later" depends="tzdata" makedepends=" dbus-dev glib-dev libdaemon-dev meson openrc-dev polkit-dev " install="$pkgname.post-install $pkgname.post-upgrade" subpackages="$pkgname-doc $pkgname-openrc" source="https://gitlab.com/postmarketOS/openrc-settingsd/-/archive/v$pkgver/openrc-settingsd-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" build() { abuild-meson \ -Denv-update= \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output # Remove dbus service files to avoid auto-launch. # The user is expected to start the service with openrc instead. rm -rv "$pkgdir"/usr/share/dbus-1/system-services } sha512sums=" 6a46288cc9a255a09f8de894f49e6b8db535e03760ceee25d9f47a463a87e63167b2a2d67ba5e6bf1019d02fae073139f4637195800e21a848287aad47e9d5da openrc-settingsd-v1.4.0.tar.gz "