# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=polkit-kde-agent-1 pkgver=5.20.90 pkgrel=0 pkgdesc="Daemon providing a polkit authentication UI for KDE" # armhf blocked by extra-cmake-modules # mips, mips64, s390x blocked by polkit-qt-1 arch="all !armhf !s390x !mips !mips64" 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 " 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 \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums="5e7af379515e00d03baa5d5d3767ee4fe0e341ff02c0139cf7a0899db661bcca7bcd4d4754535b8987e10f2a66c306ae619000464d5c39aee0dbb16057080cb2 polkit-kde-agent-1-5.20.90.tar.xz"