void-packages/srcpkgs/servy/template

26 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
}