# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=skladnik pkgver=0.5.2 pkgrel=0 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://apps.kde.org/skladnik" pkgdesc="An implementation of the Japanese warehouse keeper game 'sokoba'" license="BSD-3-Clause AND GPL-2.0-or-later AND CC0-1.0" makedepends=" extra-cmake-modules kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kio-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev qt6-qtbase-dev samurai " subpackages="$pkgname-doc $pkgname-lang" _repo_url="https://invent.kde.org/games/skladnik.git" source="https://download.kde.org/stable/skladnik/$pkgver/src/skladnik-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -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=" ced1f544bd5ffc383522b9a2655e890f229c6d94aa51386e937c4c101750e21a10179eaa5c62d2d08b5077423869f8eefcd2d5671c9f35c6e7c8759bbcfcde05 skladnik-0.5.2.tar.xz "