# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi pkgver=19.04.2 pkgrel=0 pkgdesc="A cross-desktop storage service for PIM data and meta data providing concurrent read, write, and query access" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kitemmodels-dev kitemviews-dev kio-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kcrash-dev boost-dev shared-mime-info libxml2-dev sqlite-dev" makedepends="$depends_dev extra-cmake-modules kdesignerplugin-dev kdesignerplugin qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Requires running dbus server build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="ce9e8a82d1b7421750e7692979a6de07ae48f99b7223b29fb610c529f13464effae4f8bdce4655f08b51638a5c79837be593d78f9dc8b46bd254442416f23bc6 akonadi-19.04.2.tar.xz"