25 lines
775 B
Bash
25 lines
775 B
Bash
# Template file for 'TerraState'
|
|
pkgname=TerraState
|
|
version=1.0.6
|
|
revision=1
|
|
wrksrc=terrastate-$version
|
|
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"
|
|
hostmakedepends="git"
|
|
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=0021b978529ac451d5f66ce87d2f9154afbe9c6ef645918c306430db96161488
|
|
system_groups="_terrastate"
|
|
system_accounts="_terrastate"
|
|
_terrastate_homedir="/var/lib/terrastate"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv terrastate
|
|
}
|