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

Antonio Rojas arojas at archlinux.org
Tue Feb 16 13:12:01 UTC 2021


    Date: Tuesday, February 16, 2021 @ 13:12:01
  Author: arojas
Revision: 408233

archrelease: copy trunk to testing-x86_64

Added:
  ksysguard/repos/testing-x86_64/
  ksysguard/repos/testing-x86_64/PKGBUILD
    (from rev 408232, ksysguard/trunk/PKGBUILD)
  ksysguard/repos/testing-x86_64/ksysguard.install
    (from rev 408232, ksysguard/trunk/ksysguard.install)

-------------------+
 PKGBUILD          |   34 ++++++++++++++++++++++++++++++++++
 ksysguard.install |    9 +++++++++
 2 files changed, 43 insertions(+)

Copied: ksysguard/repos/testing-x86_64/PKGBUILD (from rev 408232, ksysguard/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-02-16 13:12:01 UTC (rev 408233)
@@ -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=ksysguard
+pkgver=5.21.0
+pkgrel=1
+pkgdesc='Track and control the processes running in your system'
+arch=(x86_64)
+url='https://userbase.kde.org/KSysGuard'
+license=(LGPL)
+depends=(libksysguard kinit)
+makedepends=(extra-cmake-modules kdoctools networkmanager-qt)
+optdepends=('nvidia-utils: NVIDIA GPU usage' 'networkmanager-qt: improved network statistics')
+groups=(plasma)
+install=$pkgname.install
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('3ca64a4863fd338a59e1514e68a9508797981240aa56bc92f3482a2a125a26fc'
+            'SKIP')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr at jriddell.org>
+              '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah at kde.org>
+              'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson at kde.org>
+              '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib \
+    -DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: ksysguard/repos/testing-x86_64/ksysguard.install (from rev 408232, ksysguard/trunk/ksysguard.install)
===================================================================
--- testing-x86_64/ksysguard.install	                        (rev 0)
+++ testing-x86_64/ksysguard.install	2021-02-16 13:12:01 UTC (rev 408233)
@@ -0,0 +1,9 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+  setcap CAP_NET_RAW=+ep /usr/lib/ksysguard/ksgrd_network_helper
+}
+
+post_upgrade() {
+  post_install
+}
+



More information about the arch-commits mailing list