# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=mailimporter pkgver=19.12.2 pkgrel=1 pkgdesc="KDE PIM library providing support for mail applications" arch="all !armhf" url="https://kontact.kde.org/" license="GPL-2.0-or-later" depends_dev="qt5-qtbase-dev karchive-dev kconfig-dev kcoreaddons-dev ki18n-dev akonadi-dev kmime-dev akonadi-mime-dev libkdepim-dev" makedepends="$depends_dev extra-cmake-modules" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="9b3e2e3960812005db2399c80ab6ce25306d4fd8b770a82d77d835525190c4f73a641e4e9161a37908fa27dbcf609ee104090628a66d9d6d72d0599a28369244 mailimporter-19.12.2.tar.xz"