New package: servy-0.3.0

This commit is contained in:
zethra 2018-02-14 15:19:27 -05:00 committed by Toyam Cox
parent 2b76684efe
commit f12a093291

26
srcpkgs/servy/template Normal file
View file

@ -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 <jediben97@gmail.com>"
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
}