mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/btop to 1.3.0-4
This commit is contained in:
parent
bb174de49c
commit
328cff1d7f
2 changed files with 9 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
||||||
pkgbase = btop
|
pkgbase = btop
|
||||||
pkgdesc = A monitor of system resources, bpytop ported to C++
|
pkgdesc = A monitor of system resources, bpytop ported to C++
|
||||||
pkgver = 1.3.0
|
pkgver = 1.3.0
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = https://github.com/aristocratos/btop
|
url = https://github.com/aristocratos/btop
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache
|
license = Apache
|
||||||
|
makedepends = rocm-smi-lib
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
depends = glibc
|
depends = glibc
|
||||||
optdepends = rocm-smi-lib: AMD GPU support
|
optdepends = rocm-smi-lib: AMD GPU support
|
||||||
|
|
|
@ -1,18 +1,22 @@
|
||||||
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - disable lto
|
# - disable lto
|
||||||
|
|
||||||
pkgname=btop
|
pkgname=btop
|
||||||
pkgver=1.3.0
|
pkgver=1.3.0
|
||||||
pkgrel=2
|
pkgrel=4
|
||||||
pkgdesc='A monitor of system resources, bpytop ported to C++'
|
pkgdesc='A monitor of system resources, bpytop ported to C++'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/aristocratos/$pkgname"
|
url="https://github.com/aristocratos/$pkgname"
|
||||||
license=(Apache)
|
license=(Apache)
|
||||||
depends=(gcc-libs
|
depends=(gcc-libs
|
||||||
glibc)
|
glibc)
|
||||||
optdepends=('rocm-smi-lib: AMD GPU support')
|
# optdepends=('rocm-smi-lib: AMD GPU support')
|
||||||
_archive="$pkgname-$pkgver"
|
_archive="$pkgname-$pkgver"
|
||||||
source=("$url/archive/v$pkgver/$_archive.tar.gz")
|
source=("$url/archive/v$pkgver/$_archive.tar.gz")
|
||||||
sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf')
|
sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf')
|
||||||
|
@ -20,7 +24,7 @@ sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf')
|
||||||
build() {
|
build() {
|
||||||
cd "$_archive"
|
cd "$_archive"
|
||||||
sed -i 's/-flto\S*//' Makefile
|
sed -i 's/-flto\S*//' Makefile
|
||||||
make all
|
make all GPU_SUPPORT=false
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue