PKGBUILDs/extra/btop/PKGBUILD

33 lines
742 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
2024-02-12 13:54:11 +00:00
# - remove makedepend on rocm-smi-lib
2021-10-01 23:42:11 +00:00
pkgname=btop
2024-09-22 22:29:51 +00:00
pkgver=1.4.0
2024-09-24 00:28:33 +00:00
pkgrel=3
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"
2024-09-24 00:28:33 +00:00
license=(Apache-2.0)
2024-01-13 23:17:44 +00:00
depends=(gcc-libs
glibc)
2024-09-24 00:28:33 +00:00
makedepends=(lowdown)
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-09-22 22:29:51 +00:00
sha256sums=('ac0d2371bf69d5136de7e9470c6fb286cbee2e16b4c7a6d2cd48a14796e86650')
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
}