# Maintainer: Bart Ribbers # Contributor: Bart Ribbers pkgname=kactivities-stats pkgver=5.108.0 pkgrel=0 arch="all !armhf" # armhf blocked by qt5-qtdeclarative pkgdesc="A library for accessing the usage data collected by the activities system" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only OR LGPL-3.0-only" depends_dev="boost-dev kconfig-dev kactivities-dev graphviz-dev qt5-qttools-dev qt5-qtdeclarative-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qtbase-dev samurai" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kactivities-stats-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 5bb18d06ae29d176935da170c937ca74e5ae5f7d28ead8939982d4774ff2a02b2b4eb7bd6df2a3a529f0c04e0263bfb5bc4d99756497e8c9e8310b3656341f97 kactivities-stats-5.108.0.tar.xz "