# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcalutils pkgver=19.08.0 pkgrel=0 pkgdesc="The KDE calendar utility library" arch="all" url="https://api.kde.org/kdepim/kcalutils/html" license="LGPL-2.0-or-later" depends_dev="kcoreaddons-dev kconfig-dev ki18n-dev kcodecs-dev kwidgetsaddons-dev kconfigwidgets-dev kiconthemes-dev grantlee-dev kcalcore-dev kidentitymanagement-dev" makedepends="$depends_dev extra-cmake-modules" 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() { # kcalutils-testincidenceformatter is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kcalutils-testincidenceformatter" } package() { DESTDIR="$pkgdir" make install } sha512sums="585ff7ced662d5d559cf691d43d63f2094f4825c6cde10482ba1abd0ee2194c24bde51e107381c5836d11404e8749b78fd256ff5a77840fbfc15119334fffb36 kcalutils-19.08.0.tar.xz"