# 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=kiten pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://edu.kde.org/kiten/" pkgdesc="Japanese Reference/Study Tool" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev khtml-dev ki18n-dev knotifications-dev kxmlgui-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/education/kiten.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kiten-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" 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=" 3f39da44716ef2b309e6440e64940bce6a55723f38b72dfa9532abb2030e5ef21f2dfbdc9c20ccf5a8bf5392a823d642fcf92024c3dde3add85974f03b463522 kiten-23.04.3.tar.xz "