void-packages/srcpkgs/servy/template
maxice8 bcc67eb4d0 servy: update to 1.0.0.
Closes #14221.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-15 17:03:25 +02:00

25 lines
557 B
Bash

# Template file for 'servy'
pkgname=servy
version=1.0.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=6da77ef18dd04c3840a5d3bebbf1552623d2357533405c32dfdb2853b8299c44
nocross=yes
do_build() {
cargo build --release
}
do_check() {
cargo test --release
}
do_install() {
vbin target/release/servy
vlicense LICENSE-MIT
}