PKGBUILDs/extra/libksysguard/PKGBUILD

38 lines
1.4 KiB
Bash
Raw Normal View History

2019-02-13 02:48:29 +00:00
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2019-02-19 19:14:51 +00:00
# - remove qt5-webengine dependency for v5/v6
2019-12-03 19:59:48 +00:00
# - depend on qt5-webchannel, needed for build, pulled in by qt5-webengine
2019-02-13 02:48:29 +00:00
pkgname=libksysguard
2021-03-16 18:23:45 +00:00
pkgver=5.21.3.1
2020-06-16 20:36:27 +00:00
pkgrel=1
2020-06-10 12:41:30 +00:00
pkgdesc='Library to retrieve information on the current status of computer hardware'
2019-02-13 02:48:29 +00:00
arch=(x86_64)
2021-01-05 18:16:38 +00:00
url='https://kde.org/plasma-desktop/'
2019-02-13 02:48:29 +00:00
license=(LGPL)
2020-06-09 13:48:37 +00:00
depends=(libxres kdeclarative knewstuff qt5-webchannel)
2020-10-14 12:52:10 +00:00
makedepends=(extra-cmake-modules kdoctools qt5-tools)
2019-02-19 19:14:51 +00:00
depends_aarch64=(qt5-webengine)
depends_armv7h=(qt5-webengine)
2019-02-13 02:48:29 +00:00
groups=(plasma)
2021-03-16 18:23:45 +00:00
source=("https://download.kde.org/stable/plasma/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('e370db775b575106f9d228596d3aa0da3ba568da9c2cf76de6e1d8ab60945e59'
2020-06-16 20:36:27 +00:00
'SKIP')
2019-02-13 02:48:29 +00:00
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() {
2020-06-09 13:48:37 +00:00
cmake -B build -S $pkgname-$pkgver \
2019-02-13 02:48:29 +00:00
-DBUILD_TESTING=OFF
2020-06-09 13:48:37 +00:00
cmake --build build
2019-02-13 02:48:29 +00:00
}
package() {
2020-06-09 13:48:37 +00:00
DESTDIR="$pkgdir" cmake --install build
2019-02-13 02:48:29 +00:00
}