From ba11fc510e7e53fa57c6a94ff1657e372ef31825 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 6 Nov 2017 13:32:01 -0200 Subject: [PATCH] New package: zou-0.2.0. Closes: #8944 [via git-merge-pr] --- srcpkgs/zou/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/zou/template 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 +}