# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivitymanagerd pkgver=5.20.90 pkgrel=0 pkgdesc="System service to manage user's activities and track the usage patterns" # armhf blocked by qt5-qtdeclarative # s390x, mips64 blocked by kxmlgui, kio arch="all !armhf !s390x !mips64" 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 " 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 \ -DCMAKE_BUILD_TYPE=None \ -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 } sha512sums="cec65e26726fdd549fa28930765bd7961e72c6e10d35c0ac086461e87dfe3392a1c41eab64c8ee59065a7f067ed3a90d49003f31ab1289ce1d45a118c609a278 kactivitymanagerd-5.20.90.tar.xz"