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