# 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=kbruch pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://edu.kde.org/kbruch/" pkgdesc="Practice Fractions" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kconfig-dev kcrash-dev kdoctools-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/education/kbruch.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kbruch-$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=" 7b58f5670f11b59f0ec5dc335e7c960bfb5b8239a29ce2afee27972c1376529c750cef94a0bcb339b382b704d27aef893a2b3abdf15aec5276f3ef15acea1de3 kbruch-23.04.3.tar.xz "