diff options
Diffstat (limited to 'community/kfind/APKBUILD')
-rw-r--r-- | community/kfind/APKBUILD | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/community/kfind/APKBUILD b/community/kfind/APKBUILD index 3ba4dedd0c9..c7a86f29b58 100644 --- a/community/kfind/APKBUILD +++ b/community/kfind/APKBUILD @@ -1,36 +1,48 @@ # 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=kfind -pkgver=21.04.1 +pkgver=24.02.2 pkgrel=0 # armhf blocked by extra-cmake-modules -# s390x blocked by kio, ktextwidgets -arch="all !armhf !s390x !mips64" +arch="all !armhf" url="https://www.kde.org/applications/utilities/kfind" pkgdesc="Find Files/Folders" license="GPL-2.0-or-later AND GFDL-1.2-only" -makedepends="extra-cmake-modules karchive-dev kcoreaddons-dev kdoctools-dev kfilemetadata-dev ki18n-dev kio-dev ktextwidgets-dev kwidgetsaddons-dev" -source="https://download.kde.org/stable/release-service/$pkgver/src/kfind-$pkgver.tar.xz" +makedepends=" + extra-cmake-modules + karchive-dev + kcoreaddons-dev + kdoctools-dev + kfilemetadata-dev + ki18n-dev + kio-dev + ktextwidgets-dev + kwidgetsaddons-dev + samurai + " subpackages="$pkgname-doc $pkgname-lang" -options="!check" # No tests +_repo_url="https://invent.kde.org/utilities/kfind.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kfind-$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=" -af5707661791b1abfc8f49e4db5b52efaec9b38508a94fa2aa62c390cd669a517f764ec73418b9877a748312b31699df8114f297cbbcf0f6e3045f1e8763e206 kfind-21.04.1.tar.xz +6095e9dc128bd703bd95425457fc361daa0cafb17fc261b76a7ccdc4d65b378f995bb62ca47e776ece1982f2d89bb8ef53a33c9a9511439b51581287183dd992 kfind-24.02.2.tar.xz " |