Date: Thursday, January 19, 2023 @ 20:59:06
Author: arojas
Revision: 466980
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
libksysguard/repos/kde-unstable-x86_64/
libksysguard/repos/kde-unstable-x86_64/PKGBUILD
(from rev 466979, libksysguard/kde-unstable/PKGBUILD)
libksysguard/repos/kde-unstable-x86_64/keys/
libksysguard/repos/kde-unstable-x86_64/libksysguard.install
(from rev 466979, libksysguard/kde-unstable/libksysguard.install)
----------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
libksysguard.install | 9 +++++++++
2 files changed, 43 insertions(+)
Copied: libksysguard/repos/kde-unstable-x86_64/PKGBUILD (from rev 466979,
libksysguard/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2023-01-19 20:59:06 UTC (rev 466980)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=libksysguard
+pkgver=5.26.90
+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/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+install=libksysguard.install
+sha256sums=('54e6766b5f19f5c5e8ec84b0ddcb6e73314f365890167094a2e2d412ae3b0629'
+ '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/kde-unstable-x86_64/libksysguard.install (from rev
466979, libksysguard/kde-unstable/libksysguard.install)
===================================================================
--- kde-unstable-x86_64/libksysguard.install (rev 0)
+++ kde-unstable-x86_64/libksysguard.install 2023-01-19 20:59:06 UTC (rev
466980)
@@ -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
+}
+