void-packages/srcpkgs/just/template

27 lines
615 B
Bash

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