blob: 04bd95c438f76d9c8874408e9afbb2b385c51269 (
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
36
37
|
# Contributor: tang0th <tang0th@gmx.com>
# Maintainer:
pkgname=confd
pkgver=0.12.0_alpha3
_ver=${pkgver/_/-}
pkgrel=0
pkgdesc="Manage local application configuration files using templates and data from etcd or consul"
url="http://confd.io"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev go"
install=""
subpackages=""
source="$pkgname-$_ver.tar.gz::https://github.com/kelseyhightower/$pkgname/archive/v$_ver.tar.gz"
builddir="$srcdir/$pkgname-$_ver"
build() {
cd "$srcdir"
export GOPATH="$PWD"
export GO15VENDOREXPERIMENT=1
mkdir -p src/github.com/kelseyhightower/
cp -r "$builddir" src/github.com/kelseyhightower/confd
go install -v github.com/kelseyhightower/confd
}
package() {
cd "$srcdir"
install -Dm755 bin/confd "$pkgdir"/usr/bin/confd || return 1
}
md5sums="1420665b612d994442e3914ab2c8f4a7 confd-0.12.0-alpha3.tar.gz"
sha256sums="b679b35afb593bd9472cbf35c778829288c85c7b92678747d3a059ea0d74c16c confd-0.12.0-alpha3.tar.gz"
sha512sums="4feb81952a5cd2fcb8250cf5df93b6ceeb9a2e5173f45f7c5cbdcd2de59acf7d85a60c1513520c601e7b7a1257d26c912877eaac53aafe9e4e278e4e9cc6ab15 confd-0.12.0-alpha3.tar.gz"
|