archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kdesu / trunk / PKGBUILD
blobf72bc9c1e5ee664cec8cba5f733dfe30ac15e97c
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kdesu
6 pkgver=5.88.0
7 pkgrel=1
8 pkgdesc='Integration with su for elevated privileges'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(kservice kpty)
13 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
14 groups=(kf5)
15 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
16 sha256sums=('4505e560c6e5504a29f42baaa910b3efee401c4d8b7ed0fc1e2a6e2d776e25fd'
17             'SKIP')
18 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
20 build() {
21   cmake -B build -S $pkgname-$pkgver \
22     -DCMAKE_INSTALL_LIBEXECDIR=lib \
23     -DBUILD_TESTING=OFF \
24     -DBUILD_QCH=ON
25   cmake --build build
28 package() {
29   DESTDIR="$pkgdir" cmake --install build
31 # See FS#44277
32   chown :nobody "$pkgdir"/usr/lib/kf5/kdesud
33   chmod g+s "$pkgdir"/usr/lib/kf5/kdesud