mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/libksysguard to 5.22.0-1
This commit is contained in:
parent
8c3d778996
commit
da03cd8793
2 changed files with 14 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
# - depend on qt5-webchannel, needed for build, pulled in by qt5-webengine
|
||||
|
||||
pkgname=libksysguard
|
||||
pkgver=5.21.5
|
||||
pkgver=5.22.0
|
||||
pkgrel=1
|
||||
pkgdesc='Library to retrieve information on the current status of computer hardware'
|
||||
arch=(x86_64)
|
||||
|
@ -17,9 +17,11 @@ depends=(libxres kdeclarative knewstuff qt5-webchannel)
|
|||
makedepends=(extra-cmake-modules kdoctools qt5-tools)
|
||||
depends_aarch64=(qt5-webengine)
|
||||
depends_armv7h=(qt5-webengine)
|
||||
conflicts=('ksysguard<5.21.90')
|
||||
groups=(plasma)
|
||||
source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
|
||||
sha256sums=('5ff8c687a9d245d28ec4b92c019d2234cd931796c619ebb096de6e49cd18ebe8'
|
||||
install=libksysguard.install
|
||||
sha256sums=('a2d3973aaf7d5c4a1cb6dd463ec8183dd4e9a6c6b851df4b8824f8dd562607a9'
|
||||
'SKIP')
|
||||
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr@jriddell.org>
|
||||
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
|
||||
|
@ -28,6 +30,7 @@ validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr
|
|||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DBUILD_TESTING=OFF
|
||||
cmake --build build
|
||||
}
|
||||
|
|
9
extra/libksysguard/libksysguard.install
Normal file
9
extra/libksysguard/libksysguard.install
Normal file
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in a new issue