# 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=kimap pkgver=23.04.3 pkgrel=1 pkgdesc="Job-based API for interacting with IMAP servers" # armhf blocked by extra-cmake-modules # s390x and riscv64 blocked by kio-dev arch="all !armhf !s390x !riscv64" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev=" cyrus-sasl-dev kcoreaddons-dev ki18n-dev kio-dev kmime-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules samurai " _repo_url="https://invent.kde.org/pim/kimap.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kimap-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # loginjobtest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "loginjobtest" -j1 } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 70179ba69365b55ebe6df0091e2a1e8c7ce2e2d6b88284a82edc49ab06674d2aaee082a8a49b8bab5af054219d6fd94a73d963018bbe1736e6c36e430c0b3b1f kimap-23.04.3.tar.xz "