# Contributor: Chloe Kudryavtsev # Maintainer: Chloe Kudryavtsev pkgname=procs pkgver=0.8.9 pkgrel=0 pkgdesc="A modern replacement for ps written in Rust" url="https://github.com/dalance/procs" arch="x86_64 armhf armv7" # limited by rust/cargo license="MIT" options="net" makedepends="cargo" source="$pkgname-$pkgver.tar.gz::https://github.com/dalance/procs/archive/v$pkgver.tar.gz" export CARGO_HOME="$srcdir"/cargo build() { cargo build \ --release \ --verbose } check() { cargo test --all \ --release \ --verbose } package() { install -Dm755 target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname" } sha512sums="d924cf504c38bbafc065f308186fdade6be131969faa3552c885c9d71a7119fb0bd9f0956635ef80f9891c2d13759e766fcdd1c10fc5d1a020338d786791ad6f procs-0.8.9.tar.gz"