# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkdepim pkgver=19.08.0 pkgrel=0 pkgdesc="Lib for common KDEPim apps" arch="all" url="https://community.kde.org/KDE_PIM" license="GPL-2.0i-or-later AND LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kcmutils-dev kio-dev kwallet-dev kwidgetsaddons-dev akonadi-dev akonadi-contacts-dev akonadi-search-dev kldap-dev" makedepends="$depends_dev extra-cmake-modules kdesignerplugin-dev kdesignerplugin qt5-qttools-dev" checkdepends="xvfb-run" 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 xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="baf519dd3c395cacf430944dd5e5a68b73bb55b0a2f31f978873ec54479e776d27c7b5b5defbcfce2d263dc1bf199a4e0d8bf0ebb58f7dd9b0a8fe64f36a0cb2 libkdepim-19.08.0.tar.xz"