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
2020-09-01 15:10:47 +00:00
pkgver=5.19.5
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)
url='https://www.kde.org/workspaces/plasmadesktop/'
license=(LGPL)
2020-06-09 13:48:37 +00:00
depends=(libxres kdeclarative knewstuff qt5-webchannel)
2019-02-13 02:48:29 +00:00
makedepends=(extra-cmake-modules kdoctools plasma-framework)
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)
2020-06-16 20:36:27 +00:00
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
2020-09-01 15:10:47 +00:00
sha256sums=('d8adb311dae1a699a3fd3fbdc9e6cdde037503ca303b70f12d33b985ee80a0cd'
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
}