void-packages/srcpkgs/etcd/template

21 lines
608 B
Bash

# Template file for 'etcd'
pkgname=etcd
version=3.4.24
revision=3
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=cc490495ffc04ced61a7f549dffd4f9a2e62723245c66432394659361d6ab659
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"
post_install() {
vsv etcd
}