void-packages/srcpkgs/etcd/template

26 lines
650 B
Bash
Raw Normal View History

2016-02-29 10:06:16 +00:00
# Template file for 'etcd'
pkgname=etcd
2016-09-24 09:39:40 +00:00
version=3.0.10
2016-04-22 20:44:52 +00:00
revision=1
2016-02-29 10:06:16 +00:00
build_style=go
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="Apache-2.0"
2016-07-02 08:18:26 +00:00
hostmakedepends="git"
2016-02-29 10:06:16 +00:00
go_import_path="github.com/coreos/etcd"
homepage="https://coreos.com/etcd/docs/latest/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
2016-09-24 09:39:40 +00:00
checksum=1a85bee3c12ebe8d18feff4642f66392e830cfdf458e35970c7ad886d69c0a08
2016-02-29 10:06:16 +00:00
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
}