23 lines
810 B
Bash
23 lines
810 B
Bash
# Template file for 'consul'
|
|
pkgname=consul
|
|
version=1.5.3
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/${pkgname}"
|
|
_git_commit=34eff659dcc5503b6eb117733c9f7def63f01bad
|
|
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=9a29ee11e12d75980016db0685ce7eb81a36a97c90d6bd23529a310f4e2dc02a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|