mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/consul-template: new aport
https://www.consul.io/ Generic template rendering and notifications with Consul
This commit is contained in:
parent
b2b0e32005
commit
5bef15666e
35
testing/consul-template/APKBUILD
Normal file
35
testing/consul-template/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributor: Gennady Feldman <gena01@gmail.com>
|
||||
# Maintainer:
|
||||
pkgname=consul-template
|
||||
pkgver=0.16.0
|
||||
pkgrel=0
|
||||
pkgdesc="Generic template rendering and notifications with Consul"
|
||||
url="https://www.consul.io/"
|
||||
arch="all"
|
||||
license="MPL-2.0"
|
||||
depends=""
|
||||
makedepends="go"
|
||||
options="!strip"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
|
||||
mkdir -p "$builddir/src/github.com/hashicorp"
|
||||
ln -s "$builddir" "$builddir/src/github.com/hashicorp/$pkgname"
|
||||
cd "$builddir/src/github.com/hashicorp/$pkgname" || return 1
|
||||
|
||||
GOPATH="$builddir" go build -v -o bin/$pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
|
||||
# Main binary
|
||||
install -m750 -D bin/$pkgname "$pkgdir"/usr/sbin/$pkgname
|
||||
}
|
||||
|
||||
md5sums="98d86a7cabbd2dfd981c8f494676903f consul-template-0.16.0.tar.gz"
|
||||
sha256sums="c20e1e54c333baa8b1e031710f71a5a533ffe079d657763567478a021344ff55 consul-template-0.16.0.tar.gz"
|
||||
sha512sums="7f5f34ae7ccd5a9ce27f07a96bd6b226a78197d1455bbba76c5aab36d93090661eafc0ed513fce6930020095ab4cda799f71ed208a85ba83f540204f0d041994 consul-template-0.16.0.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user