# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadiconsole pkgver=19.12.1 pkgrel=0 arch="all !s390x !ppc64le" # 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=RelWithDebInfo \ -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="84da8064200016c204d8b8e685a3b4199721b305a7ea029690c571c20f209fa6ccaeeefb21ba461010d18e84a2411fa425620308a10f10e56f8a52205c00934d akonadiconsole-19.12.1.tar.xz"