void-packages/srcpkgs/consul/template

19 lines
648 B
Bash

# Template file for 'consul'
pkgname=consul
version=1.15.1
revision=2
build_style=go
go_import_path="github.com/hashicorp/consul"
_git_commit=7c04b6a0dd433619e788617434a4c236b7d4f892
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit} -X ${go_import_path}/version.GitDescribe=v${version}"
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=3f5f698aad0343642949d1c442e6e8bbcd835e3c173e4ee8ebb087758d1e31a4
post_install() {
vlicense LICENSE
}