# Template file for 'terragrunt'
pkgname=terragrunt
version=0.21.13
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=793e4d10fe3e069e61547c7ee8d6c2edd3d7c77a531c493a8858e54a8364d25d

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

	cd $GOSRCPATH
	dep ensure
}


post_install() {
	vlicense LICENSE.txt
}
