# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivitymanagerd pkgver=5.15.0 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="aa8d53b22cf2fd56945f13a25ce14732c6d419917b557ab13b77864d46f768c399d390bada16bedcb45b2e0d6d524cba32fe096c86c8bc92012c10cec4ddb9a4 kactivitymanagerd-5.15.0.tar.xz"