# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=polkit-kde-agent-1 pkgver=5.18.2 pkgrel=0 pkgdesc="Daemon providing a polkit authentication UI for KDE" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later" depends="polkit-elogind" makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kwindowsystem-dev kdbusaddons-dev kwidgetsaddons-dev kcoreaddons-dev kcrash-dev kiconthemes-dev polkit-qt-1-dev" source="https://download.kde.org/stable/plasma/$pkgver/polkit-kde-agent-1-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B "$builddir"/build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="a34515c1173bc439b0659df891ac35830dfc05916b4c3c622045cbaef2ce93f91be000eac31c8c0f669e7064628d09a999251237bdd5c381f74dd34e06a722fe polkit-kde-agent-1-5.18.2.tar.xz"