pkgname=plasma-activities-stats pkgver=6.0.4 pkgrel=1 pkgdesc="A library for accessing the usage data collected by the activities system" arch=('x86_64') url="https://kde.org/plasma-desktop" license=('LGPL-2.0-or-later') groups=('plasma') depends=('gcc-libs' 'glibc' 'plasma-activities' 'kconfig' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'cmake' 'ninja' 'qt6-qttools') source=(https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(86ce63674fd5c355ad13a275526bea774a4a8c619f3231a0ead8565591b3ef0b) build() { cd ${pkgname}-${pkgver} cmake -G Ninja -B flarebird-build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DKDE_INSTALL_LIBDIR=lib64 \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_QT5=OFF \ -DBUILD_TESTING=OFF \ -Wno-dev cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }