PKGBUILDs/extra/libksysguard/PKGBUILD

41 lines
1.5 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-10-19 16:24:20 +00:00
pkgver=5.23.1
2021-06-15 15:09:31 +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)
2021-06-09 16:14:16 +00:00
conflicts=('ksysguard<5.21.90')
2019-02-13 02:48:29 +00:00
groups=(plasma)
2021-06-15 15:09:31 +00:00
source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
2021-06-09 16:14:16 +00:00
install=libksysguard.install
2021-10-19 16:24:20 +00:00
sha256sums=('083ddf436a9678e6e3d9c900d2c974586a313e58f60a32b7cb6600338ec78189'
2021-06-15 15:09:31 +00:00
'SKIP')
2021-10-17 18:22:27 +00:00
validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
2019-02-13 02:48:29 +00:00
'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 \
2021-06-09 16:14:16 +00:00
-DCMAKE_INSTALL_LIBEXECDIR=lib \
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
}