mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
zou: use cargo buildstyle
This commit is contained in:
parent
a14c7a991e
commit
929b47511a
1 changed files with 4 additions and 14 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'zou'
|
# Template file for 'zou'
|
||||||
pkgname=zou
|
pkgname=zou
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=3
|
revision=4
|
||||||
hostmakedepends="cargo rust pkg-config"
|
build_style=cargo
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
short_desc="A simple and fast download accelerator, written in Rust"
|
short_desc="A simple and fast download accelerator, written in Rust"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
@ -10,18 +11,7 @@ license="MIT"
|
||||||
homepage="https://github.com/k0pernicus/zou"
|
homepage="https://github.com/k0pernicus/zou"
|
||||||
distfiles="https://github.com/k0pernicus/zou/archive/v${version}.tar.gz"
|
distfiles="https://github.com/k0pernicus/zou/archive/v${version}.tar.gz"
|
||||||
checksum=cb47cb1023991135c2ae168f436f3ddae497393d7ac3c8b15a174eef2a191f3f
|
checksum=cb47cb1023991135c2ae168f436f3ddae497393d7ac3c8b15a174eef2a191f3f
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cargo test --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/"${pkgname}"
|
|
||||||
|
|
||||||
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue