# Template file for 'radeontop'
pkgname=radeontop
version=v0.8
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=4430e1aaca895d70ea496a9b14010d9d94cadd6269b28a66104af89ff29d8489

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