testing/ytop: new aport

This commit is contained in:
Michał Polański 2020-02-28 01:43:24 +01:00 committed by Leo
parent 1d3167ebac
commit fed1c36db5

22
testing/ytop/APKBUILD Normal file
View File

@ -0,0 +1,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"