dasel: update to 2.5.0.

This commit is contained in:
icp 2023-12-22 01:29:03 +05:30 committed by Duncan Overbruck
parent 33023f47a2
commit 1f219a38c8

View file

@ -1,6 +1,6 @@
# Template file for 'dasel'
pkgname=dasel
version=2.4.1
version=2.5.0
revision=1
build_style=go
build_helper=qemu
@ -13,10 +13,18 @@ license="MIT"
homepage="https://daseldocs.tomwright.me/"
changelog="https://raw.githubusercontent.com/TomWright/dasel/master/CHANGELOG.md"
distfiles="https://github.com/TomWright/dasel/archive/refs/tags/v${version}.tar.gz"
checksum=eb44263c792ff3b31e5a5086d01b471d07a4282af6716932f12f76bb8cd4eebd
checksum=0e4ec875912a3ede0b84b381b14b64293c218fb9cf1472dd085bcccd1ab097a1
post_install() {
vlicense LICENSE
mkdir manpages
vtargetrun ${DESTDIR}/usr/bin/dasel man -o manpages
for f in manpages/*; do
vman ${f}
done
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/dasel completion ${shell} > completions.${shell}
vcompletion completions.${shell} ${shell}