mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
638 B
Bash
28 lines
638 B
Bash
# Maintainer: Caleb Maclennan <caleb@alerque.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable lto
|
|
|
|
pkgname=btop
|
|
pkgver=1.1.3
|
|
pkgrel=1
|
|
pkgdesc='A monitor of system resources, bpytop ported to C++'
|
|
arch=(x86_64 aarch64 i686)
|
|
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=('c50c2278b398094b394dec034abb9c77b85eb7e8e9ec83df6f03ea85454d2aba')
|
|
|
|
build() {
|
|
cd "$_archive"
|
|
sed -i 's/-flto\S*//' Makefile
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
cd "$_archive"
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
}
|
|
|