[arch-commits] Commit in kdesu/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Nov 13 11:17:17 UTC 2021


    Date: Saturday, November 13, 2021 @ 11:17:17
  Author: arojas
Revision: 428277

archrelease: copy trunk to testing-x86_64

Added:
  kdesu/repos/testing-x86_64/
  kdesu/repos/testing-x86_64/PKGBUILD
    (from rev 428276, kdesu/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 428276, kdesu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-11-13 11:17:17 UTC (rev 428277)
@@ -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.88.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=('4505e560c6e5504a29f42baaa910b3efee401c4d8b7ed0fc1e2a6e2d776e25fd'
+            '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