# Template file for 'terragrunt'
pkgname=terragrunt
version=0.21.10
revision=1
build_style=go
go_import_path="github.com/gruntwork-io/$pkgname"
go_mod_mode=true
hostmakedepends="dep git"
depends="terraform"
short_desc="Thin wrapper for Terraform that provides extra tools"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
homepage="https://github.com/gruntwork-io/terragrunt"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=b42ebbca326b9d1d5186d04427bcc23755b4e1a479ad5d94f369c1e72ceef79c

pre_build() {
	git config --global http.https://gopkg.in.followRedirects true

	cd $GOSRCPATH
	dep ensure
}


post_install() {
	vlicense LICENSE.txt
}
