mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
31 lines
716 B
Bash
31 lines
716 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.3.2
|
|
pkgrel=1
|
|
pkgdesc='A monitor of system resources, bpytop ported to C++'
|
|
arch=(x86_64)
|
|
url="https://github.com/aristocratos/$pkgname"
|
|
license=(Apache)
|
|
depends=(gcc-libs
|
|
glibc)
|
|
optdepends=('rocm-smi-lib: AMD GPU support')
|
|
_archive="$pkgname-$pkgver"
|
|
source=("$url/archive/v$pkgver/$_archive.tar.gz")
|
|
sha256sums=('331d18488b1dc7f06cfa12cff909230816a24c57790ba3e8224b117e3f0ae03e')
|
|
|
|
build() {
|
|
cd "$_archive"
|
|
sed -i 's/-flto\S*//' Makefile
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
cd "$_archive"
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
}
|
|
|