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-18 17:53:50 +00:00
|
|
|
pkgver=1.0.17
|
2021-10-01 23:42:11 +00:00
|
|
|
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")
|
2021-10-18 17:53:50 +00:00
|
|
|
sha256sums=('1a301a4d342703b3f4f5cada30f9db2db83cc1775e00e4ff0806a9061e10355d')
|
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
|
|
|
|
}
|
|
|
|
|