27 lines
615 B
Bash
27 lines
615 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
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_check() {
|
|
cargo test --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/"${pkgname}"
|
|
|
|
vlicense LICENSE
|
|
}
|