25 lines
775 B
Bash
25 lines
775 B
Bash
# Template file for 'TerraState'
|
|
pkgname=TerraState
|
|
version=1.0.2
|
|
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=73e055f9dcd04d933de42edbb8abe2163455a41198182733b101df404d48be1e
|
|
system_groups="_terrastate"
|
|
system_accounts="_terrastate"
|
|
_terrastate_homedir="/var/lib/terrastate"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv terrastate
|
|
}
|