# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kalarm pkgver=19.08.3 pkgrel=0 arch="all !ppc64le !s390x" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/" pkgdesc="Personal alarm scheduler" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev kauth-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kdbusaddons-dev kdoctools-dev kglobalaccel-dev kguiaddons-dev ki18n-dev kiconthemes-dev kjobwidgets-dev kcmutils-dev kdelibs4support-dev kio-dev knotifications-dev kservice-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kholidays-dev phonon-dev kimap-dev akonadi-dev akonadi-contacts-dev akonadi-mime-dev kalarmcal-dev kcalendarcore-dev kcalutils-dev kidentitymanagement-dev kdepim-apps-libs-dev libkdepim-dev mailcommon-dev kmailtransport-dev kmime-dev pimcommon-dev kpimtextedit-dev libxslt-dev qgpgme" source="https://download.kde.org/stable/applications/$pkgver/src/kalarm-$pkgver.tar.xz" subpackages="$pkgname-doc $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 ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="b1ff5137c4ec1d0067767a7e14a2ce7e2c3c1a621845975140ac538af6aa6dd6bb44f567c2569a8812552379c79f70bfb828ab1b6afa103cabdf07ca492d5dfa kalarm-19.08.3.tar.xz"