# Template file for 'radeontop'
pkgname=radeontop
version=v0.9
revision=2
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
wrksrc="${pkgname}-${version#?}"
hostmakedepends="pkg-config"
makedepends="ncurses-devel libdrm-devel"
short_desc="View radeon GPU utilization"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3"
homepage="https://github.com/clbr/radeontop"
distfiles="https://github.com/clbr/radeontop/archive/${version}.tar.gz"
checksum=e78a56d1222c8a45f08f09409f178ddda83461085b012e5ba54b716e6c8dd61d

do_build() {
	make CC="$CC"
}
do_install() {
	vbin radeontop
}
