26 lines
774 B
Bash
26 lines
774 B
Bash
# Template file for 'goreleaser'
|
|
pkgname=goreleaser
|
|
version=1.19.2
|
|
revision=3
|
|
build_style=go
|
|
build_helper="qemu"
|
|
go_import_path=github.com/goreleaser/goreleaser
|
|
go_ldflags="-X main.version=${version}"
|
|
short_desc="Deliver Go binaries as fast and easily as possible"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://goreleaser.com/"
|
|
distfiles="https://github.com/goreleaser/goreleaser/archive/refs/tags/v$version.tar.gz"
|
|
checksum=60e94d9371f7106878441deb006814339e3cf3d7f574d25cb22a9a45ec14939b
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
|
|
goreleaser=$(find $GOPATH/bin -name goreleaser)
|
|
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${goreleaser} completion ${shell} > completion.${shell}
|
|
vcompletion completion.${shell} ${shell}
|
|
done
|
|
}
|