# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=polkit-qt-1 pkgver=0.114.0 pkgrel=2 pkgdesc="Qt wrapper around polkit-1 client libraries" arch="all" url="https://www.kde.org" license="LGPL-2.1-only" depends_dev="polkit-elogind-dev" makedepends="$depends_dev cmake qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/libraries/polkit-qt-1.git" source="https://download.kde.org/stable/polkit-qt-1/polkit-qt-1-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4a16d9428d5ccc0107dcbd67c29ecba196424e555dc43d55cf2b6e0e7b72c99f894e9c994eaed85a9536010d67a19f20fe74f792c0d6b9ca0e05ce85f655f9a8 polkit-qt-1-0.114.0.tar.xz "