void-packages/srcpkgs/etcd/template

22 lines
625 B
Bash

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