mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# 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"
|