void-packages/srcpkgs/etcd/template
2016-05-22 01:14:53 +02:00

24 lines
627 B
Bash

# Template file for 'etcd'
pkgname=etcd
version=2.3.5
revision=1
build_style=go
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="Apache-2.0"
go_import_path="github.com/coreos/etcd"
homepage="https://coreos.com/etcd/docs/latest/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=a20f73c81c5fac6e99a69e7629a3b89857a5bc5b4b24075b9191194b64a8d49c
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"
post_build() {
go get -x ${go_import_path}/etcdctl
}
post_install() {
vlicense LICENSE
vsv etcd
}