PKGBUILDs/community/btop/PKGBUILD

29 lines
634 B
Bash
Raw Normal View History

2021-10-01 23:42:11 +00:00
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable lto
pkgname=btop
2021-10-27 12:49:42 +00:00
pkgver=1.0.20
2021-10-28 00:40:57 +00:00
pkgrel=2
pkgdesc='A monitor of system resources, bpytop ported to C++'
2021-10-01 23:42:11 +00:00
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")
2021-10-27 12:49:42 +00:00
sha256sums=('8f1c863f8a9d7da300be33be850c132a3cd24d483554b22774ce687068163a99')
2021-10-01 23:42:11 +00:00
build() {
cd "$_archive"
sed -i 's/-flto\S*//' Makefile
make all
}
package() {
cd "$_archive"
make DESTDIR="$pkgdir" PREFIX=/usr install
}