void-packages/srcpkgs/etcd/template

24 lines
676 B
Bash

# Template file for 'etcd'
pkgname=etcd
version=3.4.3
revision=1
build_style=go
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
hostmakedepends="git glide"
go_import_path="github.com/coreos/etcd"
go_package="${go_import_path} ${go_import_path}/etcdctl"
go_mod_mode="default"
homepage="https://coreos.com/etcd/docs/latest/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=957cafe18599b97943e8ef3e95a50f751b79a235c45c12896a98b7299f725ad9
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"
post_install() {
vlicense LICENSE
vsv etcd
}