# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadiconsole pkgver=19.12.2 pkgrel=1 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" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="0739406c6ec5d847e53ab84a1c91b6dff58835e91a9e04c1acd487bd8c1780369cc9c8b317586e4b9c95b7fc33ea45a75ef0d7f7e4da985be64cdd6ab2d6ec00 akonadiconsole-19.12.2.tar.xz"