# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kalarm pkgver=23.04.3 pkgrel=1 pkgdesc="Personal alarm scheduler" url="https://kontact.kde.org/" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> akonadi arch="all !armhf !ppc64le !s390x !riscv64" license="GPL-2.0-or-later AND GFDL-1.2-only" depends="kdepim-runtime" makedepends=" akonadi-contacts-dev akonadi-dev akonadi-mime-dev extra-cmake-modules kauth-dev kcalendarcore-dev kcalutils-dev kcmutils-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kdbusaddons-dev kdelibs4support-dev kdoctools-dev kglobalaccel-dev kguiaddons-dev kholidays-dev ki18n-dev kiconthemes-dev kidentitymanagement-dev kidletime-dev kimap-dev kio-dev kjobwidgets-dev kmailtransport-dev kmime-dev knotifications-dev knotifyconfig-dev kpimtextedit-dev kservice-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev libkdepim-dev libxslt-dev mailcommon-dev phonon-dev pimcommon-dev qgpgme qt5-qtbase-dev qt5-qtx11extras-dev samurai " _repo_url="https://invent.kde.org/pim/kalarm.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kalarm-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # Tests are broken build() { cmake -B build -G Ninja\ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 2c1a785b3bc2af8e256fa63ff07b6680160af231b0f94aeca38ea14d47e97a5e0980fcc3db98a48545a959a9c79c087d493d92a4a553bafc76699967042d1dcd kalarm-23.04.3.tar.xz "