# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-mime pkgver=19.12.1 pkgrel=0 pkgdesc="Libraries and daemons to implement basic email handling" arch="all !armhf" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev kcodecs-dev kconfigwidgets-dev kdbusaddons-dev kio-dev ki18n-dev kxmlgui-dev kmime-dev kitemmodels-dev akonadi-dev shared-mime-info libxslt-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/release-service/$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() { # mailserializerplugintest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "mailserializerplugintest" } package() { DESTDIR="$pkgdir" make install } sha512sums="dd1ef14d7ec9e51bb677c2bddfb082bd10965e94936e23bacec2a167f68fc3965ea83c3636238d9bd1711dc12e3ab3856bb1dec75a7dc7d2f00f16c2c5ad7c0b akonadi-mime-19.12.1.tar.xz"