# Template file for 'terragrunt'
pkgname=terragrunt
version=0.23.2
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=42b62a1f464c5157e14e2d4ba148573791c47050e9f37662e8d47dfb277d7d39

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

	cd $GOSRCPATH
	dep ensure
}


post_install() {
	vlicense LICENSE.txt
}
