2021-10-01 23:42:11 +00:00
|
|
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
|
|
|
|
2024-02-06 13:49:35 +00:00
|
|
|
# Drop GPU_SUPPORT=false and re-add optdepends when upstream ROCm 6 support is addressed:
|
|
|
|
# - https://gitlab.archlinux.org/archlinux/packaging/packages/btop/-/issues/2
|
|
|
|
# - https://github.com/aristocratos/btop/issues/705
|
|
|
|
|
2021-10-01 23:42:11 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable lto
|
|
|
|
|
|
|
|
pkgname=btop
|
2024-01-09 13:54:46 +00:00
|
|
|
pkgver=1.3.0
|
2024-02-06 13:49:35 +00:00
|
|
|
pkgrel=4
|
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-06 13:49:35 +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-01-09 13:54:46 +00:00
|
|
|
sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf')
|
2021-10-01 23:42:11 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$_archive"
|
|
|
|
sed -i 's/-flto\S*//' Makefile
|
2024-02-06 13:49:35 +00:00
|
|
|
make all GPU_SUPPORT=false
|
2021-10-01 23:42:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$_archive"
|
|
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
|
|
}
|
|
|
|
|