# Contributor: Chloe Kudryavtsev # Maintainer: Chloe Kudryavtsev pkgname=procs pkgver=0.9.11 pkgrel=0 pkgdesc="A modern replacement for ps written in Rust" url="https://github.com/dalance/procs" arch="x86_64 armv7 armhf !aarch64 x86 ppc64le" # limited by rust/cargo (aarch64 due to MAP_32BIT in nix package) arch="$arch !armhf !armv7 !x86" # test_run test_run_insert and test_run_tree fail, x86 fails to build 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 \ --locked } check() { cargo test --all \ --release \ --verbose \ --locked } package() { install -Dm755 target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname" } sha512sums="b279919b53b8a44cfe7a2842cb3f596e863e18723b4b4618e6d4fab514e50fd13b462ad66c532f98f9a03c5fd60fcbc5708ab7308b5dcf77577b5872cf06c73d procs-0.9.11.tar.gz"