# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=ytop pkgver=0.6.1 pkgrel=0 pkgdesc="A TUI system monitor written in Rust" url="https://github.com/cjbassi/ytop" arch="all !s390x !mips !mips64" # 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="ea63fbc77f2da995ca862dcf8c1973320834d8858c5f6abebe4db02201ef64b654a5a8911bbe33c26b6f4c964463011cdcee62c700fc97ed37a2631b15261922 ytop-0.6.1.tar.gz"