# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivitymanagerd pkgver=5.27.6 pkgrel=0 pkgdesc="System service to manage user's activities and track the usage patterns" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-only OR GPL-3.0-only" depends="qt5-qtbase-sqlite" makedepends=" boost-dev extra-cmake-modules kconfig-dev kcoreaddons-dev kdbusaddons-dev kglobalaccel-dev ki18n-dev kio-dev kwindowsystem-dev kxmlgui-dev qt5-qtbase-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kactivitymanagerd-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build # We don't ship systemd rm -r "$pkgdir"/usr/lib/systemd } sha512sums=" c83cb77ea19505d0be39577274479b3407cc1d98b57c538b93e6d0c79c8ff0e65e9cf85f98b092ace25dfe9999dd70b9136793f68e2687c5507aec9e1801dc6c kactivitymanagerd-5.27.6.tar.xz "