# 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=katomic pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/games/org.kde.katomic" pkgdesc="A fun and educational game built around molecular geometry" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcrash-dev kwidgetsaddons-dev ki18n-dev kxmlgui-dev knewstuff-dev kdoctools-dev kdbusaddons-dev libkdegames-dev samurai " _repo_url="https://invent.kde.org/games/katomic.git" source="https://download.kde.org/stable/release-service/$pkgver/src/katomic-$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=" 22345efbb8812a367baafe22073eb0df26d259515219e6413dce7b4e7227f4e2c25ab4528027ad098a3618ce099fbd1659b523b4d9c1f58dd80efbc4b89c3dce katomic-23.04.3.tar.xz "