void-packages/srcpkgs/miniserve/template

25 lines
668 B
Bash
Raw Normal View History

2018-07-16 22:23:03 +02:00
# Template file for 'miniserve'
pkgname=miniserve
2018-08-10 09:19:55 +02:00
version=0.2.0
2018-07-16 22:23:03 +02:00
revision=1
hostmakedepends="cargo"
short_desc="CLI tool to serve files and dirs over HTTP"
maintainer="cr6git <quark6@protonmail.com>"
license="MIT"
homepage="https://github.com/svenstaro/miniserve"
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
2018-08-10 09:19:55 +02:00
checksum=2a0d4c7563b3b1b75ba0cccc69236976dc916378a41e7f994e28f8a766bded4c
2018-07-16 22:23:03 +02:00
nocross="https://travis-ci.org/voidlinux/void-packages/jobs/380263119#L1158
https://travis-ci.org/voidlinux/void-packages/jobs/380263118#L1167"
do_build() {
cargo build --release
}
do_install() {
vbin target/release/miniserve
vlicense LICENSE
}