2018-02-09 14:26:22 +01:00
|
|
|
# Template file for 'just'
|
|
|
|
pkgname=just
|
2018-03-06 04:16:55 +01:00
|
|
|
version=0.3.9
|
2018-02-09 14:26:22 +01:00
|
|
|
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"
|
2018-03-06 04:16:55 +01:00
|
|
|
checksum=2f729e38853e42701eca5dda24bdfe453366c1395a21f0009047a1e4caf061a8
|
2018-02-09 14:26:22 +01:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cargo build --release ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
cargo check --release
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin target/release/${pkgname}
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|