miniserve: update to 0.24.0

This commit is contained in:
Marcin Puc 2023-07-06 15:12:39 +02:00 committed by Duncan Overbruck
parent 99fb976546
commit 103443079e

View File

@ -1,6 +1,6 @@
# Template file for 'miniserve'
pkgname=miniserve
version=0.23.2
version=0.24.0
revision=1
build_style=cargo
build_helper=qemu
@ -17,7 +17,7 @@ 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/refs/tags/v${version}.tar.gz"
checksum=9817f9083cf338d5f165633865d4b5e6c8e7df6267e04c320119548253fb13cb
checksum=ed0619bfbad3f9ea635aa266a9c4e96247ad94683d50743f0464f48f9e48ae88
make_check=ci-skip # port binding succeeds locally but fails in CI
case "$XBPS_TARGET_MACHINE" in
@ -26,13 +26,13 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_install() {
MINISERVE="${DESTDIR}/usr/bin/miniserve"
local _miniserve="${DESTDIR}/usr/bin/miniserve"
for shell in bash fish zsh; do
vtargetrun ${MINISERVE} --print-completions ${shell} > miniserve.${shell}
vtargetrun ${_miniserve} --print-completions ${shell} > miniserve.${shell}
vcompletion miniserve.${shell} ${shell}
done
vtargetrun ${MINISERVE} --print-manpage > miniserve.1
vtargetrun ${_miniserve} --print-manpage > miniserve.1
vman miniserve.1
vlicense LICENSE