void-packages/srcpkgs/just/template

26 lines
552 B
Bash

# Template file for 'just'
pkgname=just
version=0.3.8
revision=1
hostmakedepends="cargo"
short_desc="Just a command runner"
maintainer="Wilson Birney <wpb@360scada.com>"
license="CC0 1.0 Universal"
homepage="https://github.com/casey/just"
distfiles="https://github.com/casey/just/archive/v${version}.tar.gz"
checksum=fe14f07c90249f7e9e652f2baba337670dbfe18b73fccddc82674ee01af98d4e
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_check() {
cargo check --release
}
do_install() {
vbin target/release/${pkgname}
vlicense LICENSE
}