# Maintainer: Caleb Maclennan # ALARM: Kevin Mihelich # - disable lto # - remove makedepend on rocm-smi-lib pkgname=btop pkgver=1.3.1 pkgrel=2 pkgdesc='A monitor of system resources, bpytop ported to C++' arch=(x86_64) url="https://github.com/aristocratos/$pkgname" license=(Apache) depends=(gcc-libs glibc) optdepends=('rocm-smi-lib: AMD GPU support') _archive="$pkgname-$pkgver" source=("$url/archive/v$pkgver/$_archive.tar.gz") sha256sums=('9e7faa30550137598a712fc28c1fb907e48a1fa1a5b2fa2f939195cf91e1816e') build() { cd "$_archive" sed -i 's/-flto\S*//' Makefile make all } package() { cd "$_archive" make DESTDIR="$pkgdir" PREFIX=/usr install }