# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kalk pkgver=9999_git1689591001 pkgrel=0 pkgdesc="A powerful cross-platfrom calculator application" arch="all !armhf" # Blocked by qt5-qtdeclarative url="https://invent.kde.org/plasma-mobile/kalk" license="GPL-3.0-or-later" depends="qt5-qtfeedback" makedepends=" bison extra-cmake-modules flex gmp-dev kconfig-dev kcoreaddons-dev ki18n-dev kirigami2-dev kunitconversion-dev mpfr-dev qt5-qtbase-dev qt5-qtfeedback-dev qt5-qtquickcontrols2-dev samurai " source="https://download.kde.org/stable/release-service/$pkgver/src/kalk-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } check() { cd build # inputmanagertest_de is broken, https://invent.kde.org/plasma-mobile/kalk/-/issues/25 CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "inputmanagertest_de|knumbertest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 6c6689a8342785a26de20cac8ba1f5382a347ea2b80d12b792a1b95172c6181915da245c6c349db74984f74da1d98b9293bb5de432de9db3a1d763d4ef9b790c kalk-23.04.3.tar.xz " options="$options !strip"