Initial commit
This commit is contained in:
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Maintainer: Canony <canony@protonmail.ch>
|
||||
# Contributor: Caleb Maclennan <caleb@alerque.com>
|
||||
|
||||
pkgname=btop
|
||||
pkgver=1.0.15
|
||||
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 git build-essential gcc-10 g++-10)
|
||||
_archive="$pkgname-$pkgver"
|
||||
source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz"
|
||||
"Makefile.patch")
|
||||
sha256sums=('ddb1e396e220a8d9a1a84a8b0d84b907950adf0ead6f4c9261fbfbacaf0589d7'
|
||||
'9615e689c64975915a1d8bdac2115f9fc03ec990232a630a72f1194e6364d707')
|
||||
|
||||
prepare() {
|
||||
patch --follow-symlinks --forward --strip=1 --input="${srcdir}/Makefile.patch" "$srcdir/$_archive/Makefile"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_archive"
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_archive"
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
}
|
Reference in New Issue
Block a user