blob: e0dc276adc70e33253dd99f341fb20c98f7f5b17 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=hardinfo2
pkgver=2.0.12
pkgrel=2
pkgdesc="System Information and Benchmark for Linux Systems."
arch=('x86_64')
url="https://github.com/hardinfo2/hardinfo2"
license=('GPL-2.0-or-later')
depends=('gtk3' 'libsoup')
optdepends=(
'dmidecode: Memory Devices / System DMI module'
'fwupd: Firmware module'
'iperf3: Internal Network Speed benchmark'
'lm_sensors: Sensors module'
'lsscsi: SCSI support for Storage module'
'mesa-utils: GLX info for Display module'
'pciutils: PCI Devices module'
'sysbench: SysBench CPU benchmark'
'udisks2: Storage module'
'usbutils: USB Devices module'
'xdg-utils: open your browser for bugs, homepage & links')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/release-$pkgver.tar.gz")
sha256sums=('b7ba812b2e43f2873826f7dc5363fc24baf3a7e51da22a7b160b5fe4c5dd23ab')
build() {
cmake -B build -S "$pkgname-release-$pkgver" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR='lib' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|