void-packages/srcpkgs/parallel-rust/template

23 lines
615 B
Bash

# Template file for 'parallel-rust'
pkgname=parallel-rust
version=0.11.3
revision=1
wrksrc=parallel-${version}
hostmakedepends="cargo rust"
short_desc="Inspired by GNU Parallel, a command-line CPU load balancer written in Rust"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="MIT"
homepage="https://github.com/mmstick/parallel"
distfiles="https://github.com/mmstick/parallel/archive/${version}.tar.gz"
checksum=70f09dcbf6d34486e505f3e4a04d4f5e30081ec6cd71920017a8e8090eabc242
nocross=yes #rist
do_build() {
cargo build --release
}
do_install() {
vlicense LICENSE
vbin target/release/parallel parallel-rust
}