pkgname=polkit-qt pkgver=0.200.0 pkgrel=1 pkgdesc="A library that allows developers to access PolicyKit API with a nice Qt-style API" arch=('x86_64') url="https://www.kde.org" license=('BSD-3-Clause' 'GPL-2.0-or-later' 'LGPL-2.0-or-later') depends=('gcc-libs' 'glibc' 'glib2' 'polkit' 'qt6-qtbase') makedepends=('cmake') source=(https://download.kde.org/stable/${pkgname}-1/${pkgname}-1-${pkgver}.tar.xz) sha256sums=(5d3b611c062d2b76a93750bb10c907bfd21d1ff08d0a15dc2cf63e278e1677fb) build() { cd ${pkgname}-1-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DQT_MAJOR_VERSION=6 \ -Wno-dev -Bbuild cmake --build flarebird-build } package() { cd ${pkgname}-1-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }