23 lines
655 B
Bash
23 lines
655 B
Bash
# Template file for 'etcd'
|
|
pkgname=etcd
|
|
version=3.3.13
|
|
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"
|
|
homepage="https://coreos.com/etcd/docs/latest/"
|
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
|
checksum=02df2eb25d67dafc355d19a91791f686fcf59b04cea46110c3a11fcd5e365100
|
|
conf_files="/etc/sv/etcd/conf"
|
|
system_accounts="etcd"
|
|
make_dirs="/var/lib/etcd 0755 etcd etcd"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv etcd
|
|
}
|