# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-calendar-tools pkgver=20.04.0 pkgrel=0 arch="all !ppc64le !s390x !armhf !mips !mips64" # 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="8b1bb9c9be6658b14b4f7e7ee1a5df7d70e6046b172ca0a0fe6d35629b47ab14422dacf1f38f6d52fb67126da6ebcb9a25904664ee83f33ab2f3e63675cffff5 akonadi-calendar-tools-20.04.0.tar.xz"