From 7793453e226ea88bcf16aee87c0c2288b9cafe86 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 21 Jun 2016 21:51:51 +0000 Subject: testing/confd: clean up and upgrade to 0.12.0-alpha3 --- testing/confd/APKBUILD | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) (limited to 'testing') diff --git a/testing/confd/APKBUILD b/testing/confd/APKBUILD index 18ab6deb8d..04bd95c438 100644 --- a/testing/confd/APKBUILD +++ b/testing/confd/APKBUILD @@ -1,42 +1,37 @@ # Contributor: tang0th # Maintainer: pkgname=confd -pkgver=0.11.0_git20160305 -_pkgcommit=d4231233d713c363f9ca7bb60dcd2c2b55d1d31b +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="musl" +depends="" depends_dev="" makedepends="$depends_dev go" install="" subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/kelseyhightower/$pkgname/archive/$_pkgcommit.tar.gz" - -_builddir="$srcdir/$pkgname-$_pkgcommit" -prepare() { - cd "$_builddir" -} +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 + cd "$srcdir" + export GOPATH="$PWD" + export GO15VENDOREXPERIMENT=1 - mkdir -p src/github.com/kelseyhightower/ - cp -r "$_builddir" src/github.com/kelseyhightower/confd - - go install github.com/kelseyhightower/confd + 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 + cd "$srcdir" + install -Dm755 bin/confd "$pkgdir"/usr/bin/confd || return 1 } -md5sums="cd983707d8c27fed52d0f37c787784f1 confd-0.11.0_git20160305.tar.gz" -sha256sums="8474baf1ae52d39273332096c67b016c7022f2ea2edc0d6b6a9406fcd109ab2e confd-0.11.0_git20160305.tar.gz" -sha512sums="7aab758d9ad756a7a325eee405f5875e6628b333e8d9ac6521811747e763d3ad22b536a8160338ad0f4570ab934114eb5e0632d002fcf6b71605c87e3b749ea9 confd-0.11.0_git20160305.tar.gz" +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" -- cgit v1.2.3