mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
terraform: update to 0.6.16.
This commit is contained in:
parent
b77fffb6b9
commit
ef15d38d76
1 changed files with 20 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'terraform'
|
# Template file for 'terraform'
|
||||||
pkgname=terraform
|
pkgname=terraform
|
||||||
version=0.6.15
|
version=0.6.16
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
short_desc="A tool for building, changing, and combining infrastructure"
|
short_desc="A tool for building, changing, and combining infrastructure"
|
||||||
|
@ -9,4 +9,22 @@ license="MPL-2.1"
|
||||||
homepage="https://www.terraform.io/"
|
homepage="https://www.terraform.io/"
|
||||||
go_import_path="github.com/hashicorp/$pkgname"
|
go_import_path="github.com/hashicorp/$pkgname"
|
||||||
distfiles="https://$go_import_path/archive/v$version.tar.gz"
|
distfiles="https://$go_import_path/archive/v$version.tar.gz"
|
||||||
checksum=5dc7cb1d29dee3de9ed9efacab7e72aa447052c96ae8269d932f6a979871a852
|
checksum=c84bae32a170d993982de9c537eac74f70601e7a667dc2ea9803b86e04b1221d
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue