Date: Saturday, May 14, 2022 @ 11:05:06 Author: arojas Revision: 445524
archrelease: copy trunk to testing-x86_64 Added: kdesu/repos/testing-x86_64/ kdesu/repos/testing-x86_64/PKGBUILD (from rev 445523, kdesu/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 445523, kdesu/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-05-14 11:05:06 UTC (rev 445524) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdesu +pkgver=5.94.0 +pkgrel=1 +pkgdesc='Integration with su for elevated privileges' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(kpty kconfig) +makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc) +groups=(kf5) +source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}) +sha256sums=('90494323ebab4c8cdd93c068c2c4fe3a8457513cee21d7887fc4473028a9dce1' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> +options=(debug) + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + +# See FS#44277 + chown :nobody "$pkgdir"/usr/lib/kf5/kdesud + chmod g+s "$pkgdir"/usr/lib/kf5/kdesud +}