summaryrefslogtreecommitdiff
path: root/libre/libksysguard/PKGBUILD
blob: d01eab9dc4a7a8b45b0e1b686cae09be82e4550e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor: grizzlyuser <grizzlyuser@protonmail.com>

pkgname=libksysguard
pkgver=5.22.0
pkgrel=2
pkgrel+=.parabola1
pkgdesc='Library to retrieve information on the current status of computer hardware'
pkgdesc+=' (without nonfree qt5-webengine)'
arch=(x86_64)
arch+=(i686 armv7h)
url='https://www.kde.org/workspaces/plasmadesktop/'
license=(LGPL)
depends=(libxres kio kdeclarative knewstuff qt5-webchannel)
makedepends=(extra-cmake-modules kdoctools plasma-framework qt5-tools)
groups=(plasma)
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
         libksysguard-dbus-name.patch::"https://invent.kde.org/plasma/libksysguard/-/commit/27da06df.patch")
sha256sums=('a2d3973aaf7d5c4a1cb6dd463ec8183dd4e9a6c6b851df4b8824f8dd562607a9'
            'SKIP'
            '69a0d392d51004729efacde63063de39b7b91657c3bf95694fe16e8230e698a0')            
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr@jriddell.org>
              '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
              'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
              '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>


build() {
  cmake -B build -S $pkgname-$pkgver \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}