# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcalutils pkgver=18.08.1 pkgrel=0 pkgdesc="The KDE calendar utility library" arch="all" url="https://api.kde.org/kdepim/kcalutils/html" license="LGPL-2.0" depends="" depends_dev="qt5-qtbase-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" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" options="!check" # Requires running X11 server build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="23a3212e1b55a4b3c56dddc8cc0154c466387ea72ff3d13b99f00bd0e26dd49b0d12440992f2edf4da372a99ae2e643499d98ee4b5e704238ffa6785eb4069a4 kcalutils-18.08.1.tar.xz"