void-packages/srcpkgs/TerraState/template

23 lines
726 B
Bash

# Template file for 'TerraState'
pkgname=TerraState
version=1.1.1
revision=3
make_dirs="/var/lib/terrastate 0750 _terrastate _terrastate"
build_style=go
go_import_path="github.com/the-maldridge/terrastate"
go_package="${go_import_path}/cmd/terrastate"
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=8a205c2f6c39c505adf2a3f07317d387ae76676aac0c6263f435239a8c337de2
system_groups="_terrastate"
system_accounts="_terrastate"
_terrastate_homedir="/var/lib/terrastate"
post_install() {
vlicense LICENSE
vsv terrastate
}