void-packages/srcpkgs/consul/template
Noel Cower 813413458d consul: fix _git_commit.
Revision bumped because built output changes.

Tag was modified in the interrim, so checksum changed as well. Diff
shows a one-character change in a kubernetes dependency's version
string.
2019-08-21 20:28:53 +02:00

22 lines
810 B
Bash

# Template file for 'consul'
pkgname=consul
version=1.5.3
revision=2
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 <iaroki@protonmail.com>"
license="MPL-2.0"
homepage="https://www.consul.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=f36f1e516346864a7a61b0917df0e82ef9a83eb792885f9f032cca99a594bc82
post_install() {
vlicense LICENSE
}