# Template file for 'miniserve'
pkgname=miniserve
version=0.10.3
revision=1
build_style=cargo
short_desc="CLI tool to serve files and dirs over HTTP"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://github.com/svenstaro/miniserve"
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
checksum=315f8a96253f831100b13584d6d89207d9fd2a7b53823cea5a1a4e3e84d39593

case "$XBPS_TARGET_MACHINE" in
	x86_64*|i686*|arm*|aarch64*) ;;
	*) broken="ftbfs in ring" ;;
esac

post_install() {
	vlicense LICENSE
}
