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

Antonio Rojas arojas at archlinux.org
Sun Feb 9 10:08:32 UTC 2020


    Date: Sunday, February 9, 2020 @ 10:08:32
  Author: arojas
Revision: 375093

archrelease: copy trunk to testing-x86_64

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

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

Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 375092, kdesu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-02-09 10:08:32 UTC (rev 375093)
@@ -0,0 +1,40 @@
+# 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.67.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=('0e06f5422b6386b4a9b0ed7211943e73b5c47ba83226f26a91c9b5c4aa01b0ed'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -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
+}



More information about the arch-commits mailing list