summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14390e844b7aee650fb0cb8b725b16c6c133e63e (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
# Maintainer: Leo <i@setuid0.dev>
# Maintainer: Sophie Tauchert <sophie@999eagle.moe>

pkgname=gst
pkgver=0.7.7
pkgrel=1
pkgdesc="System utility designed to stress and monitor various hardware components"
arch=('any')
url="https://gitlab.com/leinardi/gst"
license=('GPL-3.0-or-later')
depends=('python>=3' 'python-humanfriendly' 'python-injector' 'python-peewee' 'python-psutil' 'python-gobject' 'python-pyxdg' 'python-yaml' 'python-requests' 'python-rx' 'gobject-introspection' 'lm_sensors' 'stress-ng' 'dmidecode')
makedepends=('pkg-config' 'meson' 'ninja' 'appstream-glib')
provides=()
conflicts=()
source=("https://gitlab.com/leinardi/gst/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('057ee7c6390897625b38ee70d1c7d5af21128c85c1e3282037945b4f0314f436')

build() {
	if [[ -d "$srcdir/build" ]]; then
		rm -rf "$srcdir/build"
	fi
	meson --prefix /usr --buildtype=plain "$pkgname-$pkgver" build
	ninja -C build
}

check() {
	ninja -C build test
}

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