diff options
-rw-r--r-- | testing/polkit-kde-agent-1/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/polkit-kde-agent-1/APKBUILD b/testing/polkit-kde-agent-1/APKBUILD new file mode 100644 index 0000000000..18967218dc --- /dev/null +++ b/testing/polkit-kde-agent-1/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=polkit-kde-agent-1 +pkgver=5.16.1 +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_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="221a76ee1a397b296dc4575bd21183a13f78ed9ce7290496d18e25135d612406f9608cc8e044f575d9d0a1fed8b6f69e70f68aee071433401bb9b651615ae02c polkit-kde-agent-1-5.16.1.tar.xz" |