32 lines
912 B
Bash
32 lines
912 B
Bash
# Template file for 'etcd'
|
|
pkgname=etcd
|
|
version=3.0.15
|
|
revision=4
|
|
build_style=go
|
|
short_desc="Distributed reliable key-value store"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="Apache-2.0"
|
|
hostmakedepends="git"
|
|
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=c21871f7e1454b1698ff29601a296f4b09365fac25bea45c0af21542d486c307
|
|
conf_files="/etc/sv/etcd/conf"
|
|
system_accounts="etcd"
|
|
make_dirs="/var/lib/etcd 0755 etcd etcd"
|
|
|
|
# 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"
|
|
|
|
pre_build() {
|
|
sed -i '/SupportPackageIsVersion3/d' etcdserver/etcdserverpb/rpc.pb.go
|
|
}
|
|
|
|
post_build() {
|
|
go get -x ${go_import_path}/etcdctl
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv etcd
|
|
}
|