# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivitymanagerd pkgver=5.13.5 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="" depends_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 qt5-qtbase-dev" makedepends="$depends_dev extra-cmake-modules boost-dev" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-lang" prepare() { mkdir "$srcdir"/build } build() { cd "$srcdir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib make } check() { cd "$srcdir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$srcdir"/build make DESTDIR="$pkgdir" install } sha512sums="e0f0518bdc8397139c445dfd4bc604cb924add54fc00b44b9b9bdce514bb579fd6c600926b213e5f4b4735714a2f402cfe259c17712c9f71be2dc184012d1713 kactivitymanagerd-5.13.5.tar.xz"