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-11-27 19:08:33 +00:00
|
|
|
pkgver=1.1.2
|
2021-11-15 19:30:10 +00:00
|
|
|
pkgrel=1
|
2021-10-28 00:40:57 +00:00
|
|
|
pkgdesc='A monitor of system resources, bpytop ported to C++'
|
2021-11-15 19:30:10 +00:00
|
|
|
arch=(x86_64 aarch64 i686)
|
2021-10-01 23:42:11 +00:00
|
|
|
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-11-27 19:08:33 +00:00
|
|
|
sha256sums=('997376596cc6ca808b5a26f9fe25da274c19c2970aaf757943a009f4c28b758c')
|
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
|
|
|
|
}
|
|
|
|
|