# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi pkgver=18.12.0 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.1" depends="" depends_dev="qt5-qtbase-dev kcompletion-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev kitemmodels-dev kio-dev shared-mime-info boost-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" options="!check" # Requires running X11 server build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="1a37fe66acfe9001ec84849f0abd3a54b38c21421cbec537f86b0af0b30c2120eca8236afeb0d64e795bdfc4f116c6cafb1c2edd92d8ec6208ea5cc2ca642e07 akonadi-18.12.0.tar.xz"