# 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=libkmahjongg pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/games" pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kwidgetsaddons-dev qt5-qtbase-dev qt5-qtsvg-dev samurai " _repo_url="https://invent.kde.org/games/libkmahjongg.git" source="https://download.kde.org/stable/release-service/$pkgver/src/libkmahjongg-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # No tests found 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=" c74aead26188a8b91329287bbac42d1c6c301ddbc26397931c5dea677430217d94e458d70c4c52f2c7367d1dd03362da9d243df6903a3a9e2bb6c57e52c0d83d libkmahjongg-23.04.3.tar.xz "