diff --git a/srcpkgs/just/template b/srcpkgs/just/template new file mode 100644 index 00000000000..927d3874f3a --- /dev/null +++ b/srcpkgs/just/template @@ -0,0 +1,25 @@ +# Template file for 'just' +pkgname=just +version=0.3.7 +revision=1 +hostmakedepends="cargo" +short_desc="Just a command runner" +maintainer="Wilson Birney " +license="CC0 1.0 Universal" +homepage="https://github.com/casey/just" +distfiles="https://github.com/casey/just/archive/v${version}.tar.gz" +checksum=f69ad9cbd0867ba294dd25b3421a4b0b79f475d907f17a3bf8e9f20c7f7304f7 +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_check() { + cargo check --release +} + +do_install() { + vbin target/release/${pkgname} + vlicense LICENSE +}