blob: 1271a99897454341a7e1e0c274b89e33ee397ddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=ytop
pkgver=0.5.1
pkgrel=0
pkgdesc="A TUI system monitor written in Rust"
url="https://github.com/cjbassi/ytop"
arch="all !s390x" # limited by cargo
license="MIT"
options="!check" # no test suite
makedepends="cargo"
source="$pkgname-$pkgver.tar.gz::https://github.com/cjbassi/ytop/archive/$pkgver.tar.gz"
build() {
cargo build --release --locked --all-features
}
package() {
install -Dm755 target/release/ytop "$pkgdir"/usr/bin/ytop
}
sha512sums="e3959df8c3972011f3be0a6ca939868b566036cc11064371be250bd7dc97fe067d5699029b0c59195d50c1c228b0f3f83c0c8f4ade8420926a0e57686b10f24a ytop-0.5.1.tar.gz"
|