mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
742 B
Bash
32 lines
742 B
Bash
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable lto
|
|
# - remove makedepend on rocm-smi-lib
|
|
|
|
pkgname=btop
|
|
pkgver=1.4.0
|
|
pkgrel=4
|
|
pkgdesc='A monitor of system resources, bpytop ported to C++'
|
|
arch=(x86_64)
|
|
url="https://github.com/aristocratos/$pkgname"
|
|
license=(Apache-2.0)
|
|
depends=(gcc-libs
|
|
glibc)
|
|
makedepends=(lowdown)
|
|
optdepends=('rocm-smi-lib: AMD GPU support')
|
|
_archive="$pkgname-$pkgver"
|
|
source=("$url/archive/v$pkgver/$_archive.tar.gz")
|
|
sha256sums=('ac0d2371bf69d5136de7e9470c6fb286cbee2e16b4c7a6d2cd48a14796e86650')
|
|
|
|
build() {
|
|
cd "$_archive"
|
|
sed -i 's/-flto\S*//' Makefile
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
cd "$_archive"
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
}
|
|
|