blob: 267cde4bcb2737ae8989034da0187bce48a6bbc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Chloe Kudryavtsev <toast@toastin.space>
# Maintainer: Chloe Kudryavtsev <toast@toastin.space>
pkgname=procs
pkgver=0.9.19
pkgrel=0
pkgdesc="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="b382103ca0fbce23b63f72071fd94cee7a9e5034163df8139d1d718d71af18e29ea706ca15af1a85a0409efa65b57b0d2efd2ca18285670be7c98bf37c19b350 procs-0.9.19.tar.gz"
|