# 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=kdiamond pkgver=23.04.3 pkgrel=1 pkgdesc="A single player puzzle game" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/games/kdiamond/" 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 knotifications-dev knotifyconfig-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/games/kdiamond.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kdiamond-$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 } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 6e7d37888bda201b542c51c1739a9af9e3186f613bdc0429b712cbead240c4f389257369b8943eae828eb729633a034fbde7342a6f7aae7c48e4de97c669c34a kdiamond-23.04.3.tar.xz "