[arch-commits] Commit in libksysguard/repos (3 files)

Antonio Rojas arojas at archlinux.org
Thu May 13 16:26:38 UTC 2021


    Date: Thursday, May 13, 2021 @ 16:26:37
  Author: arojas
Revision: 415384

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 415383, libksysguard/kde-unstable/PKGBUILD)
  libksysguard/repos/kde-unstable-x86_64/libksysguard.install
    (from rev 415383, 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 415383, libksysguard/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2021-05-13 16:26:37 UTC (rev 415384)
@@ -0,0 +1,34 @@
+# 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.21.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 kdeclarative 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=('9dd73ff7389e03b86cb15bede0dff81e68e2d7844478daa504fb60e2165a9273'
+            '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>
+
+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 415383, libksysguard/kde-unstable/libksysguard.install)
===================================================================
--- kde-unstable-x86_64/libksysguard.install	                        (rev 0)
+++ kde-unstable-x86_64/libksysguard.install	2021-05-13 16:26:37 UTC (rev 415384)
@@ -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