# 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=kgeography pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://edu.kde.org/kgeography" pkgdesc="Geography Trainer" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev kiconthemes-dev kitemviews-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/education/kgeography.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kgeography-$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=" 6392c7828990b19cdcdd61a3e7696596035edd8551b020a2e7977386afc33b30c74cef635b4ecb044f0f45173bd03cf8186449f2927ad8eef3084400562e1c94 kgeography-23.04.3.tar.xz "