xsv: use cargo buildstyle
This commit is contained in:
parent
1d6430d23e
commit
c9a8816822
1 changed files with 3 additions and 8 deletions
|
@ -1,21 +1,16 @@
|
|||
# Template file for 'xsv'
|
||||
pkgname=xsv
|
||||
version=0.13.0
|
||||
revision=1
|
||||
hostmakedepends="cargo rust"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
short_desc="Fast CSV toolkit written in Rust"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="Public Domain, MIT"
|
||||
homepage="https://github.com/BurntSushi/xsv/"
|
||||
distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=2b75309b764c9f2f3fdc1dd31eeea5a74498f7da21ae757b3ffd6fd537ec5345
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
do_install() {
|
||||
vbin target/release/xsv
|
||||
post_install() {
|
||||
vlicense LICENSE-MIT
|
||||
vlicense UNLICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue