From f12a0932915333711f19e3ed5ed3f7a5611a2c06 Mon Sep 17 00:00:00 2001 From: zethra Date: Wed, 14 Feb 2018 15:19:27 -0500 Subject: [PATCH] New package: servy-0.3.0 --- srcpkgs/servy/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/servy/template diff --git a/srcpkgs/servy/template b/srcpkgs/servy/template new file mode 100644 index 00000000000..c23ed386151 --- /dev/null +++ b/srcpkgs/servy/template @@ -0,0 +1,26 @@ +# Template file for 'servy' +pkgname=servy +version=0.3.0 +revision=1 +hostmakedepends="cargo rust pkg-config" +short_desc="A tiny little web server" +maintainer="zethra " +license="Apache-2.0, MIT" +homepage="https://github.com/zethra/servy" +distfiles="https://github.com/zethra/servy/archive/v${version}.tar.gz" +checksum=f75a829a7ff73beb99fc734d41a1bdbd23c29c7e1794e59be699db474b8b5a89 +nocross=yes + +do_build() { + cargo build --release +} + +do_check() { + cargo test --release +} + +do_install() { + vbin target/release/"${pkgname}" + vlicense LICENSE-APACHE + vlicense LICENSE-MIT +}