# Template file for 'etcd'
pkgname=etcd
version=3.6.12
revision=1
build_style=go
go_import_path="go.etcd.io/etcd/v3"
go_package="${go_import_path} go.etcd.io/etcd/etcdctl/v3"
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://coreos.com/etcd/docs/latest/"
distfiles="https://github.com/etcd-io/etcd/archive/v${version}.tar.gz"
checksum=43b78c492dd5dd5f012d14af85adf1ea15b25384cd2f8de04d7d68e418e4907a
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"

post_install() {
	vsv etcd
}
