# Contributor: guddaff # Maintainer: guddaff pkgname=radeontop pkgver=1.4 pkgrel=1 pkgdesc="amd gpu utilization monitor" url="https://github.com/clbr/radeontop" arch="all" options="!check" #there are no checks license="GPL-3.0-or-later" subpackages="$pkgname-doc $pkgname-lang" makedepends="libdrm-dev ncurses-dev libpciaccess-dev libxcb-dev musl-libintl gettext" source="$pkgname-$pkgver.tar.gz::https://github.com/clbr/radeontop/archive/refs/tags/v$pkgver.tar.gz no-git-version.patch " prepare() { default_prepare sed -i "s|ver=@VERSION@|ver=$pkgver|" getver.sh } build() { make } package() { make DESTDIR="$pkgdir" install } sha512sums=" 078087929bdbcf9b131d78f5ab0adc3d086be168d376d9f8e27a886668764263b072e0b08cb4dde593284fcdd16faa44711125c2ea5a14aaad70c8fa0f57f2b9 radeontop-1.4.tar.gz d1403a010f4bb02218780d7cbffd3c5859c9c1319736071be2ccc034040a134c4b0d1332735f6a440a0cbabc5a3ab9ac3763481df3bdce27c1275474477c458d no-git-version.patch "