void-packages/srcpkgs/etcd/template

33 lines
912 B
Bash
Raw Normal View History

2016-02-29 11:06:16 +01:00
# Template file for 'etcd'
pkgname=etcd
2016-11-12 13:24:25 +01:00
version=3.0.15
2017-04-07 21:10:17 +02:00
revision=4
2016-02-29 11:06:16 +01:00
build_style=go
short_desc="Distributed reliable key-value store"
2017-04-06 18:52:20 +02:00
maintainer="Andrea Brancaleoni <abc@pompel.me>"
2016-02-29 11:06:16 +01:00
license="Apache-2.0"
2016-07-02 10:18:26 +02:00
hostmakedepends="git"
2016-02-29 11:06:16 +01: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-11-12 13:24:25 +01:00
checksum=c21871f7e1454b1698ff29601a296f4b09365fac25bea45c0af21542d486c307
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"
2016-11-28 01:40:00 +01:00
# etcd/etcdmain/etcd.go:182: not enough arguments in call to daemon.SdNotify
broken="https://build.voidlinux.eu/builders/aarch64_builder/builds/2400/steps/shell_3/logs/stdio"
2016-11-12 13:24:25 +01:00
pre_build() {
sed -i '/SupportPackageIsVersion3/d' etcdserver/etcdserverpb/rpc.pb.go
}
2016-02-29 11:06:16 +01:00
post_build() {
go get -x ${go_import_path}/etcdctl
}
post_install() {
vlicense LICENSE
vsv etcd
}