# Template file for 'consul' pkgname=consul version=1.6.2 revision=1 build_style=go go_import_path="github.com/hashicorp/${pkgname}" _git_commit=a42ded477cf4e5ac1a850b42ec5d25672cd2545d 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 " license="MPL-2.0" homepage="https://www.consul.io/" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" checksum=98ba4f3e271536954deb118fe88bfcbd3c6150defeee8a2b946a4dff98594a75 post_install() { vlicense LICENSE }