[arch-commits] Commit in libksysguard/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Thu May 19 17:44:46 UTC 2022
Date: Thursday, May 19, 2022 @ 17:44:45
Author: arojas
Revision: 446055
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 446054, libksysguard/kde-unstable/PKGBUILD)
libksysguard/repos/kde-unstable-x86_64/libksysguard.install
(from rev 446054, libksysguard/kde-unstable/libksysguard.install)
----------------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
libksysguard.install | 9 +++++++++
2 files changed, 44 insertions(+)
Copied: libksysguard/repos/kde-unstable-x86_64/PKGBUILD (from rev 446054, libksysguard/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2022-05-19 17:44:45 UTC (rev 446055)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksysguard
+pkgver=5.24.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=('23f8e999aad854c98af21d69ab34cfc5622002bc72628f94dd43bb2caad340f5'
+ 'SKIP')
+validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-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>
+options=(debug)
+
+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 446054, libksysguard/kde-unstable/libksysguard.install)
===================================================================
--- kde-unstable-x86_64/libksysguard.install (rev 0)
+++ kde-unstable-x86_64/libksysguard.install 2022-05-19 17:44:45 UTC (rev 446055)
@@ -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