1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='Integration with su for elevated privileges'
10 url='https://community.kde.org/Frameworks'
12 depends=(kservice kpty)
13 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
15 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
16 sha256sums=('4505e560c6e5504a29f42baaa910b3efee401c4d8b7ed0fc1e2a6e2d776e25fd'
18 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
21 cmake -B build -S $pkgname-$pkgver \
22 -DCMAKE_INSTALL_LIBEXECDIR=lib \
29 DESTDIR="$pkgdir" cmake --install build
32 chown :nobody "$pkgdir"/usr/lib/kf5/kdesud
33 chmod g+s "$pkgdir"/usr/lib/kf5/kdesud