Files
horizon-packages/srcpkgs/zvm/template
T
2026-08-20 13:34:44 +02:00

29 lines
812 B
Bash

# Template file for 'zvm'
pkgname=zvm
version=0.9.1
revision=1
build_style=go
build_helper="qemu"
make_check_args="-skip TestNoAutoUpgrades_default"
go_import_path="github.com/tristanisham/zvm"
go_build_tags="noAutoUpgrades"
short_desc="Zig version manager"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://www.zvm.app"
changelog="https://github.com/tristanisham/zvm/releases"
distfiles="https://github.com/tristanisham/zvm/archive/refs/tags/v${version}.tar.gz"
checksum=49769334b7a1dfa3065306d8037b2a7baa9993207af60ee8e39015ece4b1c94f
post_install() {
vlicense LICENSE
for _shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/zvm completion ${_shell} > zvm.${_shell}
vcompletion zvm.${_shell} ${_shell}
done
for _man in man/*; do
vman ${_man}
done
}