testing/envconsul: upgrade to 0.9.1

This commit is contained in:
Leo 2019-11-09 01:42:07 -03:00
parent ac32f705e2
commit ea3f448a2a

View File

@ -1,19 +1,19 @@
# Contributor: Gennady Feldman <gena01@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=envconsul
pkgver=0.9.0
pkgver=0.9.1
pkgrel=0
pkgdesc="Read and set environmental variables for processes from Consul."
url="https://www.consul.io/"
arch="all"
license="MPL-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/envconsul/archive/v$pkgver.tar.gz"
build() {
export CGO_ENABLED="0"
mkdir -p pkg/linux-${CARCH}
go build -v -o pkg/linux-${CARCH}/$pkgname
mkdir -p pkg/linux-$CARCH
go build -v -o pkg/linux-$CARCH/$pkgname
}
check() {
@ -22,7 +22,7 @@ check() {
package() {
# Main binary
install -m755 -D pkg/linux-${CARCH}/$pkgname "$pkgdir"/usr/bin/$pkgname
install -m755 -D pkg/linux-$CARCH/$pkgname "$pkgdir"/usr/bin/$pkgname
}
sha512sums="7f2fd21f0e13c291b80cb3bd24f756e56fca1195dde2cf4670fc9ac5a04980f14d3fcec4c557d85f2ec5efee67af12023cd8c4db08a02229ad6520cae848092d envconsul-0.9.0.tar.gz"
sha512sums="beee7dc47c2d063da23d37b0c6772249e759dd93453c626b6a2afcca39e903153044fea22f255a45416e628bca9719e7f4e40364889f42a5264a373df1d7f7db envconsul-0.9.1.tar.gz"