Date: Saturday, June 8, 2019 @ 09:33:16 Author: arojas Revision: 355373
archrelease: copy trunk to testing-x86_64 Added: kdesu/repos/testing-x86_64/ kdesu/repos/testing-x86_64/PKGBUILD (from rev 355372, kdesu/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 355372, kdesu/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-06-08 09:33:16 UTC (rev 355373) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdesu +pkgver=5.59.0 +pkgrel=1 +pkgdesc='Integration with su for elevated privileges' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(kservice kpty) +makedepends=(extra-cmake-modules doxygen qt5-tools) +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('7cf1c31475deb85c1045b48303d424ada6e808d1cb9787b522089793185b6c77' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + +# See FS#44277 + chown :nobody "$pkgdir"/usr/lib/kf5/kdesud + chmod g+s "$pkgdir"/usr/lib/kf5/kdesud +}