From 203594e53da3daae15bd6f83cb338260714e6465 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sat, 17 Dec 2016 13:01:37 +0100 Subject: [PATCH] terraform: remove external plugins closes #5638 thanks @ahjones --- srcpkgs/terraform/template | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/srcpkgs/terraform/template b/srcpkgs/terraform/template index 12643317194..bb9b0540b21 100644 --- a/srcpkgs/terraform/template +++ b/srcpkgs/terraform/template @@ -1,7 +1,7 @@ # Template file for 'terraform' pkgname=terraform version=0.8.1 -revision=1 +revision=2 build_style=go short_desc="A tool for building, changing, and combining infrastructure" maintainer="Andrea Brancaleoni " @@ -10,21 +10,3 @@ homepage="https://www.terraform.io/" go_import_path="github.com/hashicorp/$pkgname" distfiles="https://$go_import_path/archive/v$version.tar.gz" checksum=927b4909a64b8550376e87c737eab0f34a0895f2700fa8bc81de339f4a7ffe20 - -post_build() { - for F in $(find -type f -name main.go); do - go get -x $go_import_path/${F%/*} - done -} - - -do_install() { - find "${GOPATH}/bin" -type f -executable | while read line - do - if [ "$(basename $line)" = terraform ]; then - vbin $line - else - vbin $line terraform-$(basename $line) - fi - done -}