mirror of
https://github.com/ClementTsang/bottom
synced 2025-02-28 05:07:09 +00:00
26 lines
No EOL
706 B
Text
26 lines
No EOL
706 B
Text
# Maintainer: Clement Tsang (xoronth) <cjhtsang@uwaterloo.ca>
|
|
|
|
pkgname=bottom
|
|
pkgver=$version
|
|
pkgrel=0
|
|
pkgdesc="A cross-platform graphical process/system monitor with a customizable interface and a multitude of features."
|
|
provides=('bottom')
|
|
makedepends=('cargo')
|
|
arch=('x86_64')
|
|
url="https://github.com/ClementTsang/bottom"
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/ClementTsang/bottom/archive/$pkgver.tar.gz")
|
|
license=('MIT')
|
|
sha512sums=('$hash')
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --locked
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
|
|
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
|
} |