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