2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libkleo
|
2019-03-13 08:32:18 +00:00
|
|
|
pkgver=18.12.3
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=1
|
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"
|
2019-02-23 11:16:17 +00:00
|
|
|
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"
|
2018-10-08 06:50:31 +00:00
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
2019-02-23 11:16:17 +00:00
|
|
|
cmake \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-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-03-13 08:32:18 +00:00
|
|
|
sha512sums="de7348f2d8aae0d250613fcb7f0fb92e9c9aa979d1457e95e4a3908fddb69ea59f1d70311f24c4affce61c64b638dc95901c80b9d6a4ae019dfb115012a9b348 libkleo-18.12.3.tar.xz"
|