# 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=ktouch pkgver=23.04.3 pkgrel=1 # riscv64 and s390x blocked by rust # armhf blocked by qt5-qtdeclarative arch="all !armhf !s390x !riscv64" url="https://edu.kde.org/ktouch/" pkgdesc="Touch Typing Tutor" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kcmutils-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdeclarative-dev kdoctools-dev ki18n-dev kiconthemes-dev kitemviews-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev libx11-dev libxcb-dev libxkbfile-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtx11extras-dev qt5-qtxmlpatterns-dev samurai " _repo_url="https://invent.kde.org/education/ktouch.git" source="https://download.kde.org/stable/release-service/$pkgver/src/ktouch-$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=" e2b25a8c170a8ff5ab2b2cced565c7ae548d9ffbfff0afc69d23691ecd37392bedfea74e0b3d3c0561078cab1112334b6c4c04b69f5c4c2ef6d0b7ff9c6aafeb ktouch-23.04.3.tar.xz "