void-packages/srcpkgs/consul/template
2021-06-09 02:46:06 -07:00

23 lines
806 B
Bash

# Template file for 'consul'
pkgname=consul
version=1.9.6
revision=1
build_style=go
go_import_path="github.com/hashicorp/consul"
_git_commit=bbcbb733b416acd7066fe4e0157c58678e4ba1e4
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=6e3c59057d43e9c614cde19499ef70d49e93f1978eb918022721abee7bc19ed8
post_install() {
vlicense LICENSE
}