# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-calendar-tools pkgver=19.12.3 pkgrel=0 arch="all !ppc64le !s390x !armhf" # Limited by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/" pkgdesc="CLI tools to manage akonadi calendars" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev akonadi-dev kcalendarcore-dev kcalutils-dev akonadi-calendar-dev libkdepim-dev calendarsupport-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-tools-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests available build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="eac1400ff742199908daf765b5cf14efd12b630a34e6fe0ac6bb17072b05902e746af5740a8e0db82a5ea7535a413140e9b6d4ea029f2abe684aff05098a8b39 akonadi-calendar-tools-19.12.3.tar.xz"