void-packages/srcpkgs/TerraState/template

24 lines
612 B
Bash

# Template file for 'TerraState'
pkgname=TerraState
version=0.1
revision=1
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.eu>"
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
}