# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=polkit-qt-1 pkgver=0.112.0 pkgrel=1 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" source="https://download.kde.org/stable/apps/KDE4.x/admin/$pkgname-$pkgver.tar.bz2" subpackages="$pkgname-dev" 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="4cb17389b54a09c53052f6d72aa5cbfe09ccb19f7fd4edf8b43ccd4751f5e88609c5f89777f4af92167d32eb2ce1e78537cea7bcfb60a90072d1fe02d6a59b50 polkit-qt-1-0.112.0.tar.bz2"