[arch-commits] Commit in kdesu/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jul 11 06:52:37 UTC 2020
Date: Saturday, July 11, 2020 @ 06:52:36
Author: arojas
Revision: 391617
archrelease: copy trunk to staging-x86_64
Added:
kdesu/repos/staging-x86_64/
kdesu/repos/staging-x86_64/PKGBUILD
(from rev 391616, kdesu/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: kdesu/repos/staging-x86_64/PKGBUILD (from rev 391616, kdesu/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-07-11 06:52:36 UTC (rev 391617)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesu
+pkgver=5.72.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 qt5-doc)
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('e72aa32ede5394b681523f1ecf795e978c624d6f8c678abc408a73338beef5f7'
+ 'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+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
+}
More information about the arch-commits
mailing list