void-packages/srcpkgs/miniserve/template

24 lines
726 B
Bash

# Template file for 'miniserve'
pkgname=miniserve
version=0.20.0
revision=1
build_style=cargo
checkdepends="curl"
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"
changelog="https://raw.githubusercontent.com/svenstaro/miniserve/master/CHANGELOG.md"
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
checksum=77aca0e3660564cc2b9a7f318c5d9065d471f3c5ab0a7d1b6850a5cb6e21904f
make_check=ci-skip # port binding succeeds locally but fails in CI
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
post_install() {
vlicense LICENSE
}