# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=incidenceeditor pkgver=19.08.2 pkgrel=1 pkgdesc="KDE PIM incidence editor" arch="all !ppc64le !s390x" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/" license="LGPL-2.0-or-later AND GPL-2.0-or-later" depends_dev="qt5-qtbase-dev akonadi-dev ki18n-dev kiconthemes-dev kio-dev kmime-dev akonadi-mime-dev kldap-dev kcodecs-dev calendarsupport-dev eventviews-dev libkdepim-dev kdepim-apps-libs-dev kcalutils-dev kcalendarcore-dev kmailtransport-dev kdiagram-dev" makedepends="$depends_dev extra-cmake-modules" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/incidenceeditor-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" 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="aebf5c6f6cdb2bd12eced072f88535db370ce6435e895b4d6f0d314c024873f4f119ba4de2c3f1a188ca7d3eac016bf18b305547c9734b1032c819d7d449f12b incidenceeditor-19.08.2.tar.xz"