# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kimap pkgver=19.12.0 pkgrel=0 pkgdesc="Job-based API for interacting with IMAP servers" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev cyrus-sasl-dev kcoreaddons-dev ki18n-dev kio-dev kmime-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { # loginjobtest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "loginjobtest" } package() { DESTDIR="$pkgdir" make install } sha512sums="1ca537b5b9fad58c16342ad138626f7052428587a5084e694c50bf5588f053400d8ea87d02166eb9bc9de07d427aac019fe35e4fc192bc73c2f07c7a3bc19b42 kimap-19.12.0.tar.xz"