# 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=step pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # s390x blocked by khtml # riscv64 disabled due to missing rust in recursive dependency arch="all !armhf !s390x !riscv64" url="https://edu.kde.org/step/" pkgdesc="Interactive Physics Simulator" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" eigen-dev extra-cmake-modules kconfig-dev kcrash-dev kdoctools-dev khtml-dev kiconthemes-dev knewstuff-dev kplotting-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev samurai shared-mime-info " _repo_url="https://invent.kde.org/education/step.git" source="https://download.kde.org/stable/release-service/$pkgver/src/step-$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=" b7d751e35dd8c2076a5f69403b52ae4c8463ac7f3f2729922a39cc94ad4631414986012e6623839cc0c02f2cf94e3e3d79615f7177f571a9ceb58105a7434f3c step-23.04.3.tar.xz "