2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libkleo
|
2019-01-06 14:10:19 +00:00
|
|
|
pkgver=18.12.0
|
|
|
|
pkgrel=0
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgdesc="KDE PIM cryptographic library"
|
|
|
|
arch="all"
|
|
|
|
url="https://kontact.kde.org"
|
|
|
|
license="GPL-2.0 LGPL-2.1"
|
|
|
|
depends=""
|
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev
|
|
|
|
kcompletion-dev kwindowsystem-dev kcoreaddons-dev kcodecs-dev kitemmodels-dev gpgme-dev
|
|
|
|
kpimtextedit-dev boost-dev"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake ../$pkgname-$pkgver \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-01-06 14:10:19 +00:00
|
|
|
sha512sums="4569bb0c954235760b1803d56099a4ffe1d2e4e12d61a2e9c2a59bc36aee1cc06e7c16bf6a367e75a9f40659ad3cbde4eed76c0526bec27012ebc196613bc931 libkleo-18.12.0.tar.xz"
|