[arch-commits] Commit in ksysguard/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Oct 15 11:21:57 UTC 2019
Date: Tuesday, October 15, 2019 @ 11:21:57
Author: arojas
Revision: 364844
archrelease: copy trunk to testing-x86_64
Added:
ksysguard/repos/testing-x86_64/
ksysguard/repos/testing-x86_64/PKGBUILD
(from rev 364843, ksysguard/trunk/PKGBUILD)
ksysguard/repos/testing-x86_64/ksysguard.install
(from rev 364843, ksysguard/trunk/ksysguard.install)
-------------------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
ksysguard.install | 9 +++++++++
2 files changed, 48 insertions(+)
Copied: ksysguard/repos/testing-x86_64/PKGBUILD (from rev 364843, ksysguard/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-15 11:21:57 UTC (rev 364844)
@@ -0,0 +1,39 @@
+# 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.17.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=(knewstuff libksysguard kinit)
+makedepends=(extra-cmake-modules kdoctools)
+groups=(plasma)
+install=$pkgname.install
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('4181535cc74f73c0a75fcf7a377595bd0381125a6f5537b116327b94402013d5'
+ '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>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: ksysguard/repos/testing-x86_64/ksysguard.install (from rev 364843, ksysguard/trunk/ksysguard.install)
===================================================================
--- testing-x86_64/ksysguard.install (rev 0)
+++ testing-x86_64/ksysguard.install 2019-10-15 11:21:57 UTC (rev 364844)
@@ -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