# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kleopatra pkgver=19.04.2 pkgrel=0 arch="all" 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-gtk" # Preferably pinentry-qt, but pinentry is in main and Qt5 is in community so it's disabled makedepends="extra-cmake-modules qt5-qtbase-dev kcmutils-dev kwidgetsaddons-dev kconfigwidgets-dev kcoreaddons-dev kcodecs-dev kconfig-dev ki18n-dev kiconthemes-dev kitemmodels-dev kxmlgui-dev kwindowsystem-dev kdoctools-dev kcrash-dev kdoctools-dev kdbusaddons-dev gpgme-dev qgpgme libkleo-dev kmime-dev libassuan-dev boost-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { # kuniqueservicetest requires running dbus CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kuniqueservicetest" } package() { DESTDIR="$pkgdir" make install } sha512sums="44c23196da7cedb323d061125f14d2ecd144de9737a01474730982f9e6ba2b51382a4b0670dadf630348a52a4e19cf22e1a80f5ca0e6dd3903ea970acb3a9033 kleopatra-19.04.2.tar.xz"