# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=eventviews pkgver=19.12.2 pkgrel=1 pkgdesc="Library for creating events" arch="all !ppc64le !s390x !armhf" # Limited by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/" license="GPL-2.0-or-later" depends_dev="qt5-qtbase-dev qt5-qttools-static akonadi-dev ki18n-dev kcodecs-dev kguiaddons-dev kiconthemes-dev kservice-dev kcompletion-dev kholidays-dev kdiagram-dev libkdepim-dev kcalutils-dev kcalendarcore-dev calendarsupport-dev akonadi-calendar-dev kmime-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/release-service/$pkgver/src/eventviews-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="da3fc8e912571a478577ef98e4e6195510edf96a115c6e21fb07f60a62b522f981c8c1b97dbd0dac9265641fe419e77c34afb1e2396640547d11fdce1ff840c1 eventviews-19.12.2.tar.xz"