makedeb


btop 1.2.9-1


A monitor of system resourecs, bpytop ported to C++

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for btop.

# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
# Contributor: Canony <canony@protonmail.ch>
# Contributor: Caleb Maclennan <caleb@alerque.com>

pkgname=btop
pkgver=1.2.9
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=(coreutils sed )
makedepends=(build-essential gcc-10 g++-10)
_archive="$pkgname-$pkgver"
source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('0f8c3434a9c4c132a34415a9cc4f048595b8a4d1a94e94223ac3a795e1c16531')

build() {
	cd "$_archive"
	make CXX=g++-10 all
}

package() {
	cd "$_archive"
	make DESTDIR="$pkgdir" PREFIX=/usr install
}