# 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=klettres pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://edu.kde.org/klettres" pkgdesc="Learn the Alphabet" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kcompletion-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev knewstuff-dev kwidgetsaddons-dev qt5-qtbase-dev qt5-qtsvg-dev samurai " _repo_url="https://invent.kde.org/education/klettres.git" source="https://download.kde.org/stable/release-service/$pkgver/src/klettres-$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=" 851337fa37f5c08c52f863d1ca72285e2544361fa8de6de6f9048de03168b6ac154b731f4545e153aac222dcc99559032ef93fabfffb38fb3a3ca6bb3644e2ae klettres-23.04.3.tar.xz "