# 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=kleopatra pkgver=23.04.3 pkgrel=1 # riscv64 disabled due to missing rust in recursive dependency arch="all !armhf !s390x !riscv64" url="https://www.kde.org/applications/utilities/kleopatra/" pkgdesc="Certificate Manager and Unified Crypto GUI" license="GPL-2.0-or-later AND GFDL-1.2-only" depends=" gnupg pinentry-qt " makedepends=" boost-dev extra-cmake-modules gpgme-dev kcmutils-dev kcodecs-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kdoctools-dev ki18n-dev kiconthemes-dev kitemmodels-dev kmime-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev libassuan-dev libkleo-dev qgpgme qt5-qtbase-dev samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/pim/kleopatra.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kleopatra-$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() { cd build # kuniqueservicetest requires running dbus CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kuniqueservicetest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 54b13af480ccf70ea028300fb07cd2080c7807939fc1afc53dbd335423768a6b700fd8e7224980abe3cfaf61fb8bf451c90a1e8ec85150d6eb9633769bf179c4 kleopatra-23.04.3.tar.xz "