void-packages/srcpkgs/TerraState/template

24 lines
613 B
Bash

# Template file for 'TerraState'
pkgname=TerraState
version=0.1
revision=3
build_style=go
go_import_path="github.com/the-maldridge/TerraState"
go_package="${go_import_path}/cmd/terrastate"
hostmakedepends="dep"
short_desc="Remote state for TerraForm"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://github.com/the-maldridge/TerraState"
distfiles="https://github.com/the-maldridge/TerraState/archive/v$version.tar.gz"
checksum=c36693ea0da06944a3303cd5ccbbbd48ff62ae910b7e9a6f986bd60b490c6579
pre_build() {
cd $GOSRCPATH
dep ensure
}
post_install() {
vlicense LICENSE
}