# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivities pkgver=5.56.0 pkgrel=0 arch="all" pkgdesc="Core components for the KDE's Activities" url="https://community.kde.org/Frameworks" license="GPL-2.0 LGPL-2.1" depends="qt5-qtbase-sqlite" depends_dev="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-dev kio-dev" makedepends="$depends_dev extra-cmake-modules boost doxygen qt5-qttools-dev boost-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" builddir="$srcdir/$pkgname-$pkgver/build" prepare() { mkdir "$builddir" } build() { cd "$builddir" cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DQML_INSTALL_DIR=lib/qt/qml \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="9ace8bed36af21ebca6e694d4e2e1f3cd407f478dc3f382895ee6afa7496d5e0a5822b369def6259468a76064924ac6ba89f25c8c354a129be91344662b93568 kactivities-5.56.0.tar.xz"