void-packages/srcpkgs/etcd/template

22 lines
625 B
Bash

# Template file for 'etcd'
pkgname=etcd
reverts=3.5.12_1
version=3.4.35
revision=1
build_style=go
go_import_path="go.etcd.io/etcd"
go_package="${go_import_path} ${go_import_path}/etcdctl"
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=b93385d32453e7ca425c3654c8f74cf39d460f9212c94b7430b836eda3e62614
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"
post_install() {
vsv etcd
}