mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
just: use cargo buildstyle
This commit is contained in:
parent
9555de0c2f
commit
2787700758
1 changed files with 3 additions and 13 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'just'
|
# Template file for 'just'
|
||||||
pkgname=just
|
pkgname=just
|
||||||
version=0.3.12
|
version=0.3.12
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="Just a command runner"
|
short_desc="Just a command runner"
|
||||||
maintainer="Wilson Birney <wpb@360scada.com>"
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
||||||
license="CC0-1.0"
|
license="CC0-1.0"
|
||||||
|
@ -10,17 +10,7 @@ homepage="https://github.com/casey/just"
|
||||||
changelog="https://raw.githubusercontent.com/casey/just/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/casey/just/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/casey/just/archive/v${version}.tar.gz"
|
distfiles="https://github.com/casey/just/archive/v${version}.tar.gz"
|
||||||
checksum=e5ca71efd19db8f157131cddb14d75ba161851e79e1cc9fc709e2c674d2c943b
|
checksum=e5ca71efd19db8f157131cddb14d75ba161851e79e1cc9fc709e2c674d2c943b
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cargo check --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/just
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue