# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kmime pkgver=23.04.3 pkgrel=1 pkgdesc="Library for handling mail messages and newsgroup articles" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev=" kcodecs-dev ki18n-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules samurai " _repo_url="https://invent.kde.org/pim/kmime.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kmime-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # kmime-headertest and kmime-messagetest are broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "kmime-(header|message)test" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 36fcf4b084988603b6dc191060f3b12a485dd9fcaae84010cfbba1b3c2ee36d01ab0a560312ca139f7c87075c375177d58cd0c8914caacecafdbbb1ae6b074e4 kmime-23.04.3.tar.xz "