# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivities pkgver=5.58.0 pkgrel=0 arch="all" pkgdesc="Core components for the KDE's Activities" url="https://community.kde.org/Frameworks" license="GPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" depends="qt5-qtbase-sqlite" depends_dev="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-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" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="f51836925f0afd8031b667eea8dae910ad7072c550047b7b012207579d834219260860cd824c0c212e7a3167a1ec256d18cbeeabb78d265aabf6184b870b461f kactivities-5.58.0.tar.xz"