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