diff options
Diffstat (limited to 'community/kmousetool/APKBUILD')
-rw-r--r-- | community/kmousetool/APKBUILD | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/community/kmousetool/APKBUILD b/community/kmousetool/APKBUILD index 9790302e3ef..229aed46c30 100644 --- a/community/kmousetool/APKBUILD +++ b/community/kmousetool/APKBUILD @@ -1,31 +1,51 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-applications pkgname=kmousetool -pkgver=20.04.1 +pkgver=24.02.2 pkgrel=0 -arch="all !armhf" # armhf blocked by extra-cmake-modules +# 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" -source="https://download.kde.org/stable/release-service/$pkgver/src/kmousetool-$pkgver.tar.xz" +makedepends=" + extra-cmake-modules + kdbusaddons-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + knotifications-dev + kstatusnotifieritem-dev + kxmlgui-dev + libxt-dev + libxtst-dev + phonon-dev + qt6-qtbase-dev + samurai + " subpackages="$pkgname-doc $pkgname-lang" +_repo_url="https://invent.kde.org/accessibility/kmousetool.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kmousetool-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + ctest --test-dir build --output-on-failure } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="b4a349ae6f8ae7fc036e27e76d45ccfd80052aa88865d9b6e4cde6541b62be8ab427623106b813dcba322eb633a52c479439e764b40489ffdc3db2e2c6fdbc2d kmousetool-20.04.1.tar.xz" +sha512sums=" +ec1168aad81c4fa2a42232146131c8823283c4f138d438df60bc1a1e130a48c8c9e23949c1e0781fd1d6b37ee43c57dd90891cbdfaf74af30778047fb412e057 kmousetool-24.02.2.tar.xz +" |