# 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=kalgebra pkgver=23.04.3 pkgrel=1 # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://edu.kde.org/kalgebra/" pkgdesc="2D and 3D Graph Calculator" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" analitza-dev extra-cmake-modules kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kio-dev kwidgetsaddons-dev ncurses-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev readline-dev samurai " _repo_url="https://invent.kde.org/education/kalgebra.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kalgebra-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests 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=" ed1c8823e6d6f783ee8df5a5d15e02fe95e6167545e9d270093ac812ee3d99310555f0e9190b1cdeb2c37b097494de8a782e5df57e1c5264fb5da24f937af005 kalgebra-23.04.3.tar.xz "