22 lines
572 B
Bash
22 lines
572 B
Bash
# Template file for 'miniserve'
|
|
pkgname=miniserve
|
|
version=0.14.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"
|
|
distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
|
|
checksum=68e21c35a4577251f656f3d1ccac2de23abd68432810b11556bcc8976bb19fc5
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*|arm*|aarch64*) ;;
|
|
*) broken="ftbfs in ring" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|