PKGBUILDs/extra/btop/PKGBUILD

31 lines
677 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
2024-01-09 13:54:46 +00:00
pkgver=1.3.0
2024-01-13 23:17:44 +00:00
pkgrel=2
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)
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
make all
}
package() {
cd "$_archive"
make DESTDIR="$pkgdir" PREFIX=/usr install
}