# Template file for 'terragrunt'
pkgname=terragrunt
version=0.21.6
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=890dc7686128cef1f4a924d654b749d39faaeb697320fa00483148074f2bdf5c

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

	cd $GOSRCPATH
	dep ensure
}


post_install() {
	vlicense LICENSE.txt
}
