# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-contacts pkgver=19.04.2 pkgrel=0 pkgdesc="Libraries and daemons to implement Contact Management in Akonadi" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.1" depends_dev="qt5-qtbase-dev kio-dev ki18n-dev kcompletion-dev kconfig-dev kcodecs-dev kiconthemes-dev kdbusaddons-dev kservice-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev prison-dev kcontacts-dev kmime-dev akonadi-dev" makedepends="$depends_dev extra-cmake-modules" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" 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="6f357535f52491a66a8bb769d75b39e8b60f9de8d9cf4347cd1e2bb32e6d78dab8942d1780750f95f45d2c0682e24d415e2bafeb484e4bee8fbb328fb4d532d6 akonadi-contacts-19.04.2.tar.xz"