topgrade: update to 16.0.4

This commit is contained in:
tranzystorekk 2025-06-13 13:45:27 +02:00
parent 6a34c0247f
commit 2bfa638113

View file

@ -1,6 +1,6 @@
# Template file for 'topgrade' # Template file for 'topgrade'
pkgname=topgrade pkgname=topgrade
version=16.0.3 version=16.0.4
revision=1 revision=1
build_style=cargo build_style=cargo
build_helper=qemu build_helper=qemu
@ -9,15 +9,15 @@ maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/topgrade-rs/topgrade" homepage="https://github.com/topgrade-rs/topgrade"
distfiles="https://github.com/topgrade-rs/topgrade/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/topgrade-rs/topgrade/archive/refs/tags/v${version}.tar.gz"
checksum=97df1c06f9489ce842756fd27c7a309db952bee16001a7a2e7a337d45904731c checksum=62cfb4eacfe96ba74d510159812fb87076a31c595efd43eb44cb610ca11f5c9d
post_install() { post_install() {
local topgrade="${DESTDIR}/usr/bin/topgrade" local _topgrade="${DESTDIR}/usr/bin/topgrade"
for shell in bash fish zsh; do for _shell in bash fish zsh; do
vtargetrun ${topgrade} --gen-completion ${shell} > topgrade.${shell} vtargetrun ${_topgrade} --gen-completion ${_shell} > topgrade.${_shell}
vcompletion topgrade.${shell} ${shell} vcompletion topgrade.${_shell} ${_shell}
done done
vtargetrun ${topgrade} --gen-manpage > topgrade.8 vtargetrun ${_topgrade} --gen-manpage > topgrade.1
vman topgrade.8 vman topgrade.1
} }