diff options
Diffstat (limited to 'community/kdesu/APKBUILD')
-rw-r--r-- | community/kdesu/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/community/kdesu/APKBUILD b/community/kdesu/APKBUILD index c8a06e8ca55..fa41938997a 100644 --- a/community/kdesu/APKBUILD +++ b/community/kdesu/APKBUILD @@ -1,7 +1,10 @@ # 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-frameworks pkgname=kdesu -pkgver=5.87.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="Integration with su for elevated privileges" # armhf blocked by extra-cmake-modules @@ -17,19 +20,21 @@ depends_dev=" makedepends="$depends_dev doxygen extra-cmake-modules - qt5-qttools-dev + qt6-qttools-dev + samurai " checkdepends="xvfb-run" -source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdesu-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +_repo_url="https://invent.kde.org/frameworks/kdesu.git" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdesu-$pkgver.tar.xz" # Since the goal of this library is to elevate privileges, suid being needed should be obvious options="suid" [ "$CARCH" = "ppc64le" ] && options="$options !check" # kdesutest is broken 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 \ -DBUILD_QCH=ON @@ -37,13 +42,13 @@ build() { } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest + xvfb-run ctest --test-dir build --output-on-failure -E "kdesutest" } package() { DESTDIR="$pkgdir" cmake --install build } + sha512sums=" -a705e6cf89a6e7eebdd822ebf03d4e47eff3dd18e40211bf649f2fd34e82c78abaa1bf4eea202f70f87abfa3006b9df66dceec2e9a2f40fba62a0db636e7ef38 kdesu-5.87.0.tar.xz +6ea4e6ae3f648915e8ad63d605e56fd504954138e8c663e0d41fbe1a2bd9da738f5b9024e1be631171fb38b1af7eff1af2db11cd5418a8602862a81a2da5ed2d kdesu-6.1.0.tar.xz " |