void-packages/srcpkgs/etcd/template

25 lines
627 B
Bash
Raw Normal View History

2016-02-29 11:06:16 +01:00
# Template file for 'etcd'
pkgname=etcd
2016-05-28 10:36:24 +02:00
version=2.3.6
2016-04-22 22:44:52 +02:00
revision=1
2016-02-29 11:06:16 +01:00
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"
2016-05-28 10:36:24 +02:00
checksum=2d2f715fbe3aad679077d45e93a05a4b951811964e1e47ad7eba6e17d1d613a8
2016-02-29 11:06:16 +01: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
}