mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
dasel: update to 1.26.1, install completions
This commit is contained in:
parent
813754fff8
commit
259cf7ce65
1 changed files with 7 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'dasel'
|
||||
pkgname=dasel
|
||||
version=1.26.0
|
||||
version=1.26.1
|
||||
revision=1
|
||||
build_style=go
|
||||
build_helper=qemu
|
||||
go_import_path=github.com/tomwright/dasel
|
||||
go_package="${go_import_path}/cmd/dasel"
|
||||
go_ldflags="-X ${go_import_path}/internal.Version=${version}"
|
||||
|
@ -12,8 +13,12 @@ license="MIT"
|
|||
homepage="https://daseldocs.tomwright.me/"
|
||||
changelog="https://raw.githubusercontent.com/TomWright/dasel/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/TomWright/dasel/archive/v${version}.tar.gz"
|
||||
checksum=3c28ffd0ce63884835ce10392591624014c4d0af4444d9230a9027385559f898
|
||||
checksum=44c90753cf4c1b6e7fb82074c6701fd4b47dc6dc26fe4e5504dcccb4d273b946
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
for shell in bash fish zsh; do
|
||||
vtargetrun ${DESTDIR}/usr/bin/dasel completion ${shell} > completions.${shell}
|
||||
vcompletion completions.${shell} ${shell}
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue