Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions srcpkgs/dasel/template
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Template file for 'dasel'
pkgname=dasel
version=2.8.1
revision=2
version=3.11.2
revision=1
build_style=go
build_helper=qemu
go_import_path=github.com/tomwright/dasel/v2
go_import_path=github.com/tomwright/dasel/v3
go_package="${go_import_path}/cmd/dasel"
go_ldflags="-X ${go_import_path}/internal.Version=${version}"
short_desc="Query and modify data structures using selector strings"
Expand All @@ -13,17 +13,13 @@ 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=ba8da9569f38e7f33453c03ac988382291a01004a96c307d52cccadb9ef7837e
checksum=5471fe33b28c98efed2b1a13431ed24097785f56a24dc9fb15e37b1e266446e1

post_install() {
vlicense LICENSE

mkdir manpages
vtargetrun ${DESTDIR}/usr/bin/dasel man -o manpages

for f in manpages/*; do
vman ${f}
done
vtargetrun ${DESTDIR}/usr/bin/dasel man > dasel.1
vman dasel.1

for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/dasel completion ${shell} > completions.${shell}
Expand Down
Loading