diff --git a/srcpkgs/zou/template b/srcpkgs/zou/template new file mode 100644 index 0000000000..fc46d74e7e --- /dev/null +++ b/srcpkgs/zou/template @@ -0,0 +1,27 @@ +# Template file for 'zou' +pkgname=zou +version=0.2.0 +revision=1 +hostmakedepends="cargo rust pkg-config" +makedepends="libressl-devel" +short_desc="A simple and fast download accelerator, written in Rust" +maintainer="maxice8 " +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 +}