PKGBUILDs/community/btop/PKGBUILD

29 lines
617 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
2022-08-29 12:33:52 +00:00
pkgver=1.2.9
2022-02-15 19:18:32 +00:00
pkgrel=1
2021-10-28 00:40:57 +00:00
pkgdesc='A monitor of system resources, bpytop ported to C++'
2022-01-17 14:40:57 +00:00
arch=(x86_64)
2021-10-01 23:42:11 +00:00
url="https://github.com/aristocratos/$pkgname"
license=(Apache)
depends=(gcc-libs)
_archive="$pkgname-$pkgver"
2022-01-17 14:40:57 +00:00
source=("$url/archive/v$pkgver/$_archive.tar.gz")
2022-08-29 12:33:52 +00:00
sha256sums=('0f8c3434a9c4c132a34415a9cc4f048595b8a4d1a94e94223ac3a795e1c16531')
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
}