[arch-commits] Commit in kdesu/repos (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 15 17:19:15 UTC 2022


    Date: Monday, August 15, 2022 @ 17:19:15
  Author: felixonmars
Revision: 452845

archrelease: copy trunk to staging-x86_64

Added:
  kdesu/repos/staging-x86_64/
  kdesu/repos/staging-x86_64/PKGBUILD
    (from rev 452844, kdesu/trunk/PKGBUILD)
  kdesu/repos/staging-x86_64/keys/

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

Copied: kdesu/repos/staging-x86_64/PKGBUILD (from rev 452844, kdesu/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-08-15 17:19:15 UTC (rev 452845)
@@ -0,0 +1,35 @@
+# 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.97.0
+pkgrel=1
+pkgdesc='Integration with su for elevated privileges'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(kpty kconfig)
+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=('652eb62f3a1f5600b15b1e42ff4d2542ccc9786244b58b73baa4511964d64fb3'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+options=(debug)
+
+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