# Maintainer: Caleb Maclennan # ALARM: Kevin Mihelich # - disable lto pkgname=btop pkgver=1.0.14 pkgrel=1 pkgdesc='A monitor of system resourecs, bpytop ported to C++' arch=(x86_64 aarch64) url="https://github.com/aristocratos/$pkgname" license=(Apache) depends=(gcc-libs) _archive="$pkgname-$pkgver" source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('5b54e329bdacea109b4206506b3cafd9959b2ecc63ef9b04554bf9c7bc7b2b9b') build() { cd "$_archive" sed -i 's/-flto\S*//' Makefile make all } package() { cd "$_archive" make DESTDIR="$pkgdir" PREFIX=/usr install }