void-packages/srcpkgs/etcd/template

22 lines
625 B
Bash

# Template file for 'etcd'
pkgname=etcd
reverts=3.5.12_1
version=3.4.34
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=7f265027635096b3a9801fe805b8f451626264d023aa1b272a71dbbab1e3a426
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"
post_install() {
vsv etcd
}