# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=ytop pkgver=0.6.0 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="da91c6645d31622e3a903963ffee9adffb76ecb15e650185994d962527af0b1419b5e3f50a1aed9de512b5fff5bc3df3b6951b173edfefd3c7b6e2624d07d6de ytop-0.6.0.tar.gz"