# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kgpg pkgver=19.08.1 pkgrel=0 arch="all" url="https://kde.org/applications/utilities/org.kde.kgpg" pkgdesc="A simple interface for GnuPG, a powerful encryption utility" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kdoctools-dev kcodecs-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kjobwidgets-dev kio-dev knotifications-dev kservice-dev ktextwidgets-dev kxmlgui-dev kwidgetsaddons-dev kwindowsystem-dev akonadi-contacts-dev kcontacts-dev gpgme-dev" 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() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="e6c3bdaf07d17f47edcc7324c576f0412936c04f94ab0509b3a5323d9128108b8166d7ecf6c86dbfbf5946d861c996788ef2e086461d2d2a59082adc4e8df1a6 kgpg-19.08.1.tar.xz"