# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=polkit-kde-agent-1 pkgver=5.27.6 pkgrel=0 pkgdesc="Daemon providing a polkit authentication UI for KDE" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" depends="polkit-elogind" makedepends=" extra-cmake-modules kcoreaddons-dev kcrash-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kwidgetsaddons-dev kwindowsystem-dev polkit-qt-1-dev qt5-qtbase-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/polkit-kde-agent-1-$pkgver.tar.xz" subpackages="$pkgname-lang" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build # We don't ship systemd rm -r "$pkgdir"/usr/lib/systemd } sha512sums=" 72d4ca273e7a1e9cca26a9d8c4de74a272c4c6e8e3cb738726a57272187900b61eed53f50be474a6d1dcc05fba3139aab76517bc77ba315156cf3648823ddfb4 polkit-kde-agent-1-5.27.6.tar.xz "