# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcontacts pkgver=19.08.0 pkgrel=0 pkgdesc="Address book API for KDE" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends="iso-codes" depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kconfig-dev kcodecs-dev" makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/kcontacts-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="c1bf8734531e95fe9555144d978ca8c90073c0fa95cde78986e14a312fee54c45736c5b1990eaa0ff29936426a1be551313b81604b0f5cddc27a6ed17e9bc124 kcontacts-19.08.0.tar.xz"