# Template file for 'terragrunt'
pkgname=terragrunt
version=0.21.4
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=b4a1a12b5f553a6751baf2df7b459865334ce1f0e9c1869669666905f3da4dca

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

	cd $GOSRCPATH
	dep ensure
}


post_install() {
	vlicense LICENSE.txt
}
