# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-contacts pkgver=18.12.0 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="" depends_dev="qt5-qtbase-dev kio-dev prison-dev kcontacts-dev kmime-dev akonadi-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="888b14521a4e40bf68178847b4410638893a4b513088fb1fd6f7a0c28293430289a39b2c2893aed0b2200694e90addf1f6f9ddd229cd7af46b94dcb256456535 akonadi-contacts-18.12.0.tar.xz"