[arch-commits] Commit in ksysguard/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Jun 9 11:06:12 UTC 2020
Date: Tuesday, June 9, 2020 @ 11:06:11
Author: arojas
Revision: 388527
archrelease: copy trunk to testing-x86_64
Added:
ksysguard/repos/testing-x86_64/
ksysguard/repos/testing-x86_64/PKGBUILD
(from rev 388526, ksysguard/trunk/PKGBUILD)
ksysguard/repos/testing-x86_64/ksysguard.install
(from rev 388526, ksysguard/trunk/ksysguard.install)
-------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
ksysguard.install | 9 +++++++++
2 files changed, 43 insertions(+)
Copied: ksysguard/repos/testing-x86_64/PKGBUILD (from rev 388526, ksysguard/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-06-09 11:06:11 UTC (rev 388527)
@@ -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.19.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)
+optdepends=('nvidia-utils: NVIDIA GPU usage')
+groups=(plasma)
+install=$pkgname.install
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('abd56dcf96a3af1a23083044edc6dd6afb4726ab7bc3a64a1db1055554566f49'
+ '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 388526, ksysguard/trunk/ksysguard.install)
===================================================================
--- testing-x86_64/ksysguard.install (rev 0)
+++ testing-x86_64/ksysguard.install 2020-06-09 11:06:11 UTC (rev 388527)
@@ -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