# Description: Radeon GPU utilization monitor
# URL:         https://github.com/clbr/radeontop
# Maintainer:  Fredrik Rinnestam, fredrik at obra dot se
# Depends on:  ncurses, libdrm

name=radeontop
version=1.0
release=1
source=(https://github.com/clbr/radeontop/archive/v$version/radeontop-v$version.tar.gz)

build() {
	cd $name-$version
	make
	make DESTDIR=$PKG install
	rm -r $PKG/usr/share
        mkdir -p $PKG/usr/man/man1
        install -D -m644 radeontop.1 $PKG/usr/man/man1	
}
