# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcalutils pkgver=18.12.0 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="e88fc10e0aeb437d6e25955c2a1b9dbffb8086abe452ae0701c188f7d989f46a78c0d1516d4c0ceca2e413f1ccd74c771d110232a6fb292a991b449b13f78a21 kcalutils-18.12.0.tar.xz"