2021-10-01 23:42:11 +00:00
|
|
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable lto
|
|
|
|
|
|
|
|
pkgname=btop
|
2024-02-11 19:39:18 +00:00
|
|
|
pkgver=1.3.1
|
|
|
|
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)
|
2024-01-13 23:17:44 +00:00
|
|
|
depends=(gcc-libs
|
|
|
|
glibc)
|
2024-02-11 19:39:18 +00:00
|
|
|
optdepends=('rocm-smi-lib: AMD GPU support')
|
2021-10-01 23:42:11 +00:00
|
|
|
_archive="$pkgname-$pkgver"
|
2022-01-17 14:40:57 +00:00
|
|
|
source=("$url/archive/v$pkgver/$_archive.tar.gz")
|
2024-02-11 19:39:18 +00:00
|
|
|
sha256sums=('9e7faa30550137598a712fc28c1fb907e48a1fa1a5b2fa2f939195cf91e1816e')
|
2021-10-01 23:42:11 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$_archive"
|
|
|
|
sed -i 's/-flto\S*//' Makefile
|
2024-02-11 19:39:18 +00:00
|
|
|
make all
|
2021-10-01 23:42:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$_archive"
|
|
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
|
|
}
|
|
|
|
|