diff options
Diffstat (limited to 'community/kbackup/APKBUILD')
-rw-r--r-- | community/kbackup/APKBUILD | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/community/kbackup/APKBUILD b/community/kbackup/APKBUILD index 0b49b64cae7..d5300e22e8a 100644 --- a/community/kbackup/APKBUILD +++ b/community/kbackup/APKBUILD @@ -1,32 +1,52 @@ # 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=kbackup -pkgver=20.04.1 +pkgver=24.02.2 pkgrel=0 +# armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/utilities/org.kde.kbackup" pkgdesc="An application which lets you back up your data in a simple, user friendly way" license="GPL-2.0-only" -makedepends="extra-cmake-modules qt5-qtbase-dev knotifications-dev ki18n-dev kio-dev kdoctools-dev kxmlgui-dev kiconthemes-dev karchive-dev kwidgetsaddons-dev shared-mime-info" -source="https://download.kde.org/stable/release-service/$pkgver/src/kbackup-$pkgver.tar.xz" +makedepends=" + extra-cmake-modules + karchive-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kstatusnotifieritem-dev + kwidgetsaddons-dev + kxmlgui-dev + libarchive-dev + qt6-qtbase-dev + samurai + shared-mime-info + " subpackages="$pkgname-doc $pkgname-lang" -options="!check" # No tests +_repo_url="https://invent.kde.org/utilities/kbackup.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kbackup-$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="8ec6a41612397ebed18abcb762c12ef6f0e3a84ca4ded6de3498efb94b550d6eaa0acb376abdb9aa4c19ff99380c86c595d35682592ea3d491fad2a178213cbd kbackup-20.04.1.tar.xz" +sha512sums=" +b0e5fdfab6a9a6c3d8a72caa288532c6b02266d6360ba4ab42c7692ed01e17e1008091bbc6a7f3e7e6d87eb99b931eec6e38f1030aca6d2c9377816d2f4c9823 kbackup-24.02.2.tar.xz +" |