# 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=kmousetool pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/utilities/org.kde.kmousetool" pkgdesc="A program that clicks the mouse for you" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules qt5-qtbase-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev knotifications-dev kxmlgui-dev phonon-dev libxt-dev libxtst-dev samurai " _repo_url="https://invent.kde.org/accessibility/kmousetool.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kmousetool-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" 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=" 9725ab1552c037a4c53e46e3ae4e817d1943c7a5ae92c09f07c028e07d8bd9cfa940ad04c8dfed2629f193c568535c5ec236a537f0a9025a8369eecc42f63c24 kmousetool-23.04.3.tar.xz "