# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivitymanagerd pkgver=5.15.3 pkgrel=0 pkgdesc="System service to manage user's activities and track the usage patterns" arch="all" url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0" depends_dev="qt5-qtbase-dev kio-dev kdbusaddons-dev ki18n-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev kglobalaccel-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kwidgetsaddons-dev kservice-dev kbookmarks-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev" makedepends="$depends_dev extra-cmake-modules boost-dev" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-lang" builddir="$srcdir/$pkgname-$pkgver/build" prepare() { mkdir "$builddir" } build() { cd "$builddir" cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="1396b0c49c6f0c2359f7068d9d854c3382d4255cc2e69878213c29f460bd4264c7980b4f22013253a9dac34cf483fa5114a9e6eabe2d4caadd7d0e750dc8cd2d kactivitymanagerd-5.15.3.tar.xz"