Date: Sunday, July 5, 2020 @ 15:51:57 Author: foxboron Revision: 657883
upgpkg: consul-template 0.22.1-2 Updated to follow go package guidelines Modified: consul-template/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-07-05 15:50:03 UTC (rev 657882) +++ PKGBUILD 2020-07-05 15:51:57 UTC (rev 657883) @@ -3,13 +3,13 @@ # Contributor: Tim Meusel <[email protected]> pkgname=consul-template pkgver=0.22.1 -pkgrel=1 +pkgrel=2 pkgdesc='Template rendering, notifier, and supervisor for HashiCorp Consul and Vault data' arch=('x86_64') url='https://github.com/hashicorp/consul-template' license=('MPL') backup=("etc/${pkgname}/${pkgname}.hcl") -makedepends=('go-pie' 'git') +makedepends=('go' 'git') depends=('glibc') optdepends=('consul: interpolate values from a distributed key/value store' 'vault: reference secure secrets in template files') @@ -31,6 +31,11 @@ build() { cd src/github.com/hashicorp/"${pkgname}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" go build -o consul-template-binary }
