void-packages/srcpkgs/consul/template
2022-03-19 19:20:47 -05:00

22 lines
807 B
Bash

# Template file for 'consul'
pkgname=consul
version=1.11.4
revision=1
build_style=go
go_import_path="github.com/hashicorp/consul"
_git_commit=944e8ce64201ab2bbe923b207883d08a4dcff73a
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit} -X ${go_import_path}/version.GitDescribe=v${version}"
# consul has a vendor directory, but relies on replace statements in go.mod, so
# force default non-vendor behavior.
go_mod_mode=default
hostmakedepends="git"
short_desc="Distributed solution to connect and configure applications"
maintainer="iaroki <iaroki@protonmail.com>"
license="MPL-2.0"
homepage="https://www.consul.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=253200fbf79aefee632c5cde9f90e6df6eddcb2766f2909b0d347c4438065126
post_install() {
vlicense LICENSE
}