mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
23 lines
777 B
Bash
23 lines
777 B
Bash
# Template file for 'topgrade'
|
|
pkgname=topgrade
|
|
version=16.0.3
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
short_desc="Meta upgrade tool for pip, flatpak, your distro and everything else"
|
|
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/topgrade-rs/topgrade"
|
|
distfiles="https://github.com/topgrade-rs/topgrade/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=97df1c06f9489ce842756fd27c7a309db952bee16001a7a2e7a337d45904731c
|
|
|
|
post_install() {
|
|
local topgrade="${DESTDIR}/usr/bin/topgrade"
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${topgrade} --gen-completion ${shell} > topgrade.${shell}
|
|
vcompletion topgrade.${shell} ${shell}
|
|
done
|
|
|
|
vtargetrun ${topgrade} --gen-manpage > topgrade.8
|
|
vman topgrade.8
|
|
}
|