# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-calendar pkgver=19.12.0 pkgrel=0 pkgdesc="Libraries and daemons to implement basic email handling" arch="all !ppc64le !s390x" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev="ki18n-dev kwidgetsaddons-dev kxmlgui-dev kio-dev kcodecs-dev kiconthemes-dev kdbusaddons-dev kmailtransport-dev kidentitymanagement-dev kcalendarcore-dev kcalutils-dev akonadi-dev akonadi-contacts-dev" makedepends="$depends_dev extra-cmake-modules" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Broken prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="414720ee822103c940fbab39f8272f2ab52f32e32c60bb1630e0eb4805ee778d9ca772c4f5a40859f2ceae2eac569202a98a485d31f3b41799d4d2100e4c578a akonadi-calendar-19.12.0.tar.xz"