mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
added community/btop
This commit is contained in:
parent
31ec69736c
commit
521d9e3e6e
1 changed files with 28 additions and 0 deletions
28
community/btop/PKGBUILD
Normal file
28
community/btop/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - disable lto
|
||||
|
||||
pkgname=btop
|
||||
pkgver=1.0.12
|
||||
pkgrel=1
|
||||
pkgdesc='A monitor of system resourecs, bpytop ported to C++'
|
||||
arch=(x86_64 aarch64)
|
||||
url="https://github.com/aristocratos/$pkgname"
|
||||
license=(Apache)
|
||||
depends=(gcc-libs)
|
||||
_archive="$pkgname-$pkgver"
|
||||
source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('0a5f713a89c11f46b5ac0a5240c9263caa839f1e051c1f794fc84341bc824e44')
|
||||
|
||||
build() {
|
||||
cd "$_archive"
|
||||
sed -i 's/-flto\S*//' Makefile
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_archive"
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
}
|
||||
|
Loading…
Reference in a new issue