diff --git a/btop/.SRCINFO b/btop/.SRCINFO new file mode 100644 index 0000000..2cd9d5a --- /dev/null +++ b/btop/.SRCINFO @@ -0,0 +1,19 @@ +generated-by = makedeb-makepkg + +pkgbase = btop + pkgdesc = A monitor of system resourecs, bpytop ported to C++ + pkgver = 1.2.0 + pkgrel = 1 + url = https://github.com/aristocratos/btop + arch = x86_64 + arch = aarch64 + license = Apache + makedepends = build-essential + makedepends = gcc-10 + makedepends = g++-10 + depends = coreutils + depends = sed + source = btop-1.2.0.tar.gz::https://github.com/aristocratos/btop/archive/v1.2.0.tar.gz + sha256sums = 59a87b9d0bb0f5010d53f0ac72ddee9fd7b5a4039bce51b94b262313e946df02 + +pkgname = btop diff --git a/btop/PKGBUILD b/btop/PKGBUILD new file mode 100644 index 0000000..37c7765 --- /dev/null +++ b/btop/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Canony +# Contributor: Caleb Maclennan + +pkgname=btop +pkgver=1.2.0 +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=('59a87b9d0bb0f5010d53f0ac72ddee9fd7b5a4039bce51b94b262313e946df02') + + +build() { + cd "$_archive" + make CXX=g++-10 all +} + +package() { + cd "$_archive" + make DESTDIR="$pkgdir" PREFIX=/usr install +}