# 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=kblocks pkgver=23.04.3 pkgrel=1 pkgdesc="The classic falling blocks game" url="https://kde.org/applications/games/kblocks/" # armhf blocked by extra-cmake-modules arch="all !armhf" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev qt5-qtbase-dev qt5-qtsvg-dev samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/games/kblocks.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kblocks-$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() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" c9b97c662fdb673a4034b64cc229a353db2ca82815e75e30d41f417c40acaa0bed1b69f2d2b4f38e016b89d92795a6d5b25eaa93284fb24a60b2dd3474be98c2 kblocks-23.04.3.tar.xz "