# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkleo pkgver=19.04.3 pkgrel=0 pkgdesc="KDE PIM cryptographic library" arch="all" url="https://kontact.kde.org" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev kcompletion-dev kwindowsystem-dev kcoreaddons-dev kcodecs-dev kitemmodels-dev kpimtextedit-dev gpgme-dev boost-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $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="06dd54352f8350abb386e573d06f23520f511c2db4c6b6bfc655b5c0ac34f92b8f5b0020a72122c275df139b8b65142b247940812afcfe563a19aee3204ab403 libkleo-19.04.3.tar.xz"