void-packages/srcpkgs/zou/template
2018-04-27 21:00:03 +02:00

31 lines
768 B
Bash

# Template file for 'zou'
pkgname=zou
version=0.2.0
revision=3
hostmakedepends="cargo rust pkg-config"
makedepends="libressl-devel"
short_desc="A simple and fast download accelerator, written in Rust"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/k0pernicus/zou"
distfiles="https://github.com/k0pernicus/zou/archive/v${version}.tar.gz"
checksum=cb47cb1023991135c2ae168f436f3ddae497393d7ac3c8b15a174eef2a191f3f
nocross=yes
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/9605/steps/shell_3/logs/stdio"
esac
do_build() {
cargo build --release
}
do_check() {
cargo test --release
}
do_install() {
vbin target/release/"${pkgname}"
vlicense LICENSE
}