void-packages/srcpkgs/parallel-rust/template

19 lines
583 B
Bash

# Template file for 'parallel-rust'.
pkgname=parallel-rust
version=0.11.3
revision=2
wrksrc="parallel-${version}"
patch_args="-Np1"
build_style=cargo
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
do_install() {
vlicense LICENSE
vbin target/${RUST_TARGET}/release/parallel parallel-rust
}