# 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=kontact pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine # riscv64 disabled due to missing rust in recursive dependency arch="all !armhf !ppc64le !s390x !riscv64" url="https://kontact.kde.org/" pkgdesc="Container application to unify several major PIM applications within one application" license="GPL-2.0-or-later" makedepends=" akonadi-dev extra-cmake-modules grantleetheme-dev kcmutils-dev kcrash-dev kdbusaddons-dev kdoctools-dev kiconthemes-dev kontactinterface-dev kpimtextedit-dev kwindowsystem-dev libkdepim-dev pimcommon-dev qt5-qtbase-dev qt5-qtwebengine-dev samurai " _repo_url="https://invent.kde.org/pim/kontact.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kontact-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 962626b6aba8f414c80621d9fbcbc138dcfc97dfec9d53e510eeb2b5db3bcf39d0ff26f09c2f13388ec16f2bcc317a57a7ee1336b639d22a1ddeba3830ec85c2 kontact-23.04.3.tar.xz "