blob: ea65f82f13ff28d707ac771393c391d1576077b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: tang0th <tang0th@gmx.com>
# Contributor: fchavant <francois@lightcurve.io>
# 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() {
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"
|