Date: Friday, April 7, 2023 @ 04:42:23
Author: felixonmars
Revision: 472903
archrelease: copy trunk to testing-x86_64
Added:
libksysguard/repos/testing-x86_64/
libksysguard/repos/testing-x86_64/PKGBUILD
(from rev 472902, libksysguard/trunk/PKGBUILD)
libksysguard/repos/testing-x86_64/keys/
libksysguard/repos/testing-x86_64/libksysguard.install
(from rev 472902, libksysguard/trunk/libksysguard.install)
----------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
libksysguard.install | 9 +++++++++
2 files changed, 43 insertions(+)
Copied: libksysguard/repos/testing-x86_64/PKGBUILD (from rev 472902,
libksysguard/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-04-07 04:42:23 UTC (rev 472903)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=libksysguard
+pkgver=5.27.4
+pkgrel=1
+pkgdesc='Library to retrieve information on the current status of computer
hardware'
+arch=(x86_64)
+url='https://kde.org/plasma-desktop/'
+license=(LGPL)
+depends=(libxres qt5-webengine knewstuff)
+makedepends=(extra-cmake-modules kdoctools qt5-tools)
+conflicts=('ksysguard<5.21.90')
+groups=(plasma)
+source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+install=libksysguard.install
+sha256sums=('e0128d0c515cba3fde36c4a5cf5872dbf4e58c29a0d297b84f32bcfbe622f8f8'
+ 'SKIP')
+validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan
Esk-Riddell <[email protected]>
+ '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah
<[email protected]>
+ 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson
<[email protected]>
+ '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin
<[email protected]>
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
Copied: libksysguard/repos/testing-x86_64/libksysguard.install (from rev
472902, libksysguard/trunk/libksysguard.install)
===================================================================
--- testing-x86_64/libksysguard.install (rev 0)
+++ testing-x86_64/libksysguard.install 2023-04-07 04:42:23 UTC (rev 472903)
@@ -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
+}
+