22 lines
785 B
Bash
22 lines
785 B
Bash
# Template file for 'consul'
|
|
pkgname=consul
|
|
version=1.12.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/consul"
|
|
_git_commit=e57f76ae5cce9e70738aadb16f1e47d7c4c257f4
|
|
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
|
|
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=72b0c3ccb94e127cec95d0c26d6c91afbeda873730d56151932b6cd48c9fd176
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|