# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmime pkgver=18.12.3 pkgrel=1 pkgdesc="Library for handling mail messages and newsgroup articles" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0" depends_dev="qt5-qtbase-dev ki18n-dev kcodecs-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" # Fails on aarch64 on Outlook attachement naming build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="ed02fa15ef1d437f6c13a8bed4092c62fbbd55595156bd9766a8b980665c18a2a7ab2c841cc7657710480f2e98d275e8d377ccbba32081ef14e2a2aa5db5fb2d kmime-18.12.3.tar.xz"