Date: Tuesday, April 18, 2017 @ 04:12:16 Author: felixonmars Revision: 223650
upgpkg: consul 0.8.1-1 Modified: consul/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-04-18 04:11:42 UTC (rev 223649) +++ PKGBUILD 2017-04-18 04:12:16 UTC (rev 223650) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=consul -pkgver=0.8.0 +pkgver=0.8.1 pkgrel=1 pkgdesc="A tool for service discovery, monitoring and configuration." arch=('i686' 'x86_64') @@ -10,13 +10,13 @@ license=('MPL') depends=('glibc') makedepends=('git' 'go') -source=("git+https://github.com/hashicorp/consul.git#tag=v$pkgver" +source=("$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/consul/archive/v$pkgver.tar.gz" consul.service) -sha512sums=('SKIP' +sha512sums=('484fb75f712c29571be5e7fb2f60cd70c8314392771e84756103571d809bb47212aa8572c7276b5e8db933ce48dc50662af89902ba997666fe49de52c8fa0497' '0f39434e73a3f5d79919e3fad28de834688765edebfce8793aa471f272af61d9cebd13237a7aeb4f8b89f1749a891a63cd710881d58a9590990deedd43dffdba') prepare() { - cd consul + cd consul-$pkgver mkdir build mkdir -p .gopath/src/github.com/hashicorp @@ -25,7 +25,7 @@ } build() { - cd consul + cd consul-$pkgver go get github.com/mitchellh/cli go build -o build/consul # -gccgoflags "$CFLAGS $LDFLAGS" @@ -32,7 +32,7 @@ } package() { - cd consul + cd consul-$pkgver install -Dm755 build/consul "$pkgdir"/usr/bin/consul install -Dm644 "$srcdir"/consul.service "$pkgdir"/usr/lib/systemd/system/consul.service
