23 lines
676 B
Bash
23 lines
676 B
Bash
# Template file for 'parallel-rust'.
|
|
pkgname=parallel-rust
|
|
version=0.11.3
|
|
revision=2
|
|
wrksrc="parallel-${version}"
|
|
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
|
|
|
|
pre_build() {
|
|
# default version too old for ppc musl systems
|
|
cargo update --package libc --precise 0.2.66
|
|
}
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vbin target/${RUST_TARGET}/release/parallel parallel-rust
|
|
}
|