# 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=kcalc pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/utilities/org.kde.kcalc" pkgdesc="Scientific Calculator" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules gmp-dev kconfig-dev kconfigwidgets-dev kcrash-dev kdoctools-dev kguiaddons-dev ki18n-dev kinit-dev knotifications-dev kxmlgui-dev mpfr-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/utilities/kcalc.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kcalc-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" 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=" 6d02b300191aa6d832b8b9503da94b462f92d19a20ed1c84a88661cec3aa455b59945381234880ce65e20cc2238cec8e825196693cc7c7833a5647b2c3866757 kcalc-23.04.3.tar.xz "