# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivitymanagerd pkgver=5.18.4 _pkgver=5.18.4.1 pkgrel=0 pkgdesc="System service to manage user's activities and track the usage patterns" arch="all !armhf" # disable armhf due to missing qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-only OR GPL-3.0-only" depends="qt5-qtbase-sqlite" makedepends="extra-cmake-modules boost-dev qt5-qtbase-dev kdbusaddons-dev ki18n-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev kglobalaccel-dev kxmlgui-dev kio-dev" source="https://download.kde.org/stable/plasma/$pkgver/kactivitymanagerd-$_pkgver.tar.xz" subpackages="$pkgname-lang" builddir="$srcdir/$pkgname-$_pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="b3231305643247fa82f267ac942878136f1710faf1fe3b084efad25e8a3fb124ebbab5cf88251dd54d8e8bbbf3ac31088b25bf8047307adef95b5d40c8175ee0 kactivitymanagerd-5.18.4.1.tar.xz"