void-packages/srcpkgs/consul/template
2020-10-17 18:19:58 +02:00

22 lines
810 B
Bash

# Template file for 'consul'
pkgname=consul
version=1.8.4
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
_git_commit=9ea1a204d832cfd4d8c5cba9df56876a526a4531
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=77d1dfa93da66ccb222049bd892e46f8ddb11516589311fbdc24bd658d64b372
post_install() {
vlicense LICENSE
}