# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadiconsole pkgver=19.12.3 pkgrel=0 arch="all !s390x !ppc64le !armhf" # calendarsupport messagelib missing url="https://kontact.kde.org/" pkgdesc="Application for debugging Akonadi Resources" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kdbusaddons-dev kdoctools-dev ki18n-dev kitemmodels-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev kcrash-dev kcompletion-dev kitemviews-dev kio-dev akonadi-dev kcontacts-dev kcalendarcore-dev kmime-dev akonadi-contacts-dev calendarsupport-dev messagelib-dev libkdepim-dev akonadi-search-dev xapian-bindings" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/akonadiconsole-$pkgver.tar.xz" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="39131877e0bc7b09141e0d218a01eaa86bd3aa9963514eaa3f44fe510aa7a88b4478ddf1461fc1ce59084d0dfa34186d3d0e4ab8d4763204ba651e8ab4c7d355 akonadiconsole-19.12.3.tar.xz"