# Contributor: tang0th # Contributor: fchavant # Maintainer: pkgname=confd pkgver=0.16.0 pkgrel=0 pkgdesc="Manage local application configuration files using templates and data from etcd or consul" url="http://confd.io" arch="all" license="MIT" depends="" makedepends="go" install="" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/kelseyhightower/$pkgname/archive/v$pkgver.tar.gz" build() { export GOPATH="$srcdir" mkdir -p "$GOPATH/src/github.com/kelseyhightower" mv "$srcdir/$pkgname-$pkgver" "$GOPATH/src/github.com/kelseyhightower/confd" cd "$GOPATH/src/github.com/kelseyhightower/confd" make } check() { # Errors out with # backends/file/client.go:115:14: Debug call has arguments but no formatting directives [ "$CARCH" = armv7 ] && return 0 export GOPATH="$srcdir" cd "$GOPATH/src/github.com/kelseyhightower/confd" make test } package() { install -Dm755 "$srcdir/src/github.com/kelseyhightower/confd/bin/confd" "$pkgdir/usr/bin/confd" } sha512sums="eafabf85d1d7193847a78dcfde7b9961bdf5b634165d27acc760aff6e4ef79cac9688abdfcac049773a28f997f87ea94e6a7606ee7f7d7aaaeaa8ba67f7e48b7 confd-0.16.0.tar.gz"