summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b147a3e0121a119ac27ad65562c14c892a94ec3d (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.6
pkgrel=1
pkgdesc="a GTK system utility designed to stress and monitor various hardware components like CPU and RAM"
arch=('any')
url="https://gitlab.com/leinardi/gst"
license=('GPL3')
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=('ede76b222572b24d4e196fa3d649a845da5819b6185b6ca84ef61192ca026f1d')

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
}