Skip to content
Snippets Groups Projects
Commit 5bef1566 authored by Gennady Feldman's avatar Gennady Feldman Committed by Jakub Jirutka
Browse files

testing/consul-template: new aport

https://www.consul.io/
Generic template rendering and notifications with Consul
parent b2b0e320
No related merge requests found
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment