# Maintainer: Rigo Reddig pkgname=rocm-smi pkgver=2.5.0 pkgrel=1 _filename=roc-${pkgver}.tar.gz pkgdesc="Utility to manage and monitor AMDGPU / ROCm systems." arch=('any') url="https://github.com/RadeonOpenCompute/ROC-smi/" license=('MIT') depends=(python) source=("$pkgname-$pkgver.tar.gz::https://github.com/RadeonOpenCompute/ROC-smi/archive/${_filename}") sha256sums=('6b5c6ece5bdbd792f4a38b1784c048b2d1afe41adab4db15e8d6b189eb9c9ab7') package() { cd "ROC-smi-roc-${pkgver}" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/rocm-smi/LICENSE" install -Dm644 README.md "${pkgdir}/usr/share/doc/rocm-smi/README" install -Dm755 rocm_smi.py "${pkgdir}/usr/bin/rocm-smi" }