Date: Wednesday, June 26, 2019 @ 21:57:43 Author: shibumi Revision: 484611
upgpkg: terraform 0.12.3-1 Modified: terraform/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-06-26 21:45:00 UTC (rev 484610) +++ PKGBUILD 2019-06-26 21:57:43 UTC (rev 484611) @@ -2,7 +2,7 @@ # Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> pkgname=terraform -pkgver=0.12.2 +pkgver=0.12.3 pkgrel=1 pkgdesc="Tool for building, changing, and versioning infrastructure safely and efficiently" url="https://www.terraform.io/" @@ -10,25 +10,22 @@ license=("MPL") makedepends=("go-pie") source=("$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/terraform/archive/v$pkgver.tar.gz") -sha512sums=('2d4d91b346a6ce917919a8be53700a4b698f4ae02cf8315b1adbb57555a6e3a7089831fe12db16721b5b58e9a8b0fe7a55a0a6e15f09bc6a30cc91fd3198994d') +sha512sums=('49e1fefbfaf0dc0b0505836133c95dd5b664babfbdec094288ac823678cfb6e1593b19c9a0dca608cb1c7063f1ad531adba470c5ec67e3d245ef1e4341fd5b4a') - prepare() { - export GOPATH="${srcdir}" - export PATH="$PATH:$GOPATH/bin" - mkdir -p src/github.com/hashicorp/ - mv "${pkgname}-${pkgver}" src/github.com/hashicorp/${pkgname} + export GOPATH="${srcdir}" + export PATH="$PATH:$GOPATH/bin" + mkdir -p src/github.com/hashicorp/ + mv "${pkgname}-${pkgver}" src/github.com/hashicorp/${pkgname} } - build() { - cd src/github.com/hashicorp/"${pkgname}" - go build -o terraform-binary + cd src/github.com/hashicorp/"${pkgname}" + go build -o terraform-binary } - package() { - cd src/github.com/hashicorp/"${pkgname}" - install -Dm755 terraform-binary "$pkgdir/usr/bin/terraform" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd src/github.com/hashicorp/"${pkgname}" + install -Dm755 terraform-binary "$pkgdir/usr/bin/terraform" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }