# Template file for 'etcd' pkgname=etcd version=3.3.1 revision=2 build_style=go short_desc="Distributed reliable key-value store" maintainer="Andrea Brancaleoni " 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=b00e0945bf4a99d88501b842b398c76d82ec45d02a00d7c203884b1ae3b75187 conf_files="/etc/sv/etcd/conf" system_accounts="etcd" make_dirs="/var/lib/etcd 0755 etcd etcd" pre_build() { cd $GOSRCPATH glide install } post_install() { vlicense LICENSE vsv etcd }