# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kauth pkgver=5.57.0 pkgrel=0 pkgdesc="Abstraction to system policy and authentication features" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1" depends_dev="kcoreaddons-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen polkit-qt-dev polkit-qt" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E KAuthHelperTest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="7d5e2aee7c5f60cb1e30b1a54864ba79e61f3b79bda4c9efc8adb58b04e5723412156501583593087ca594a4348f8be7d569e2ef67747d95492b91b3c1cf5fec kauth-5.57.0.tar.xz"