void-packages/srcpkgs/just/template

26 lines
543 B
Bash
Raw Normal View History

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