28 lines
701 B
Bash
28 lines
701 B
Bash
# Template file for 'etcd'
|
|
pkgname=etcd
|
|
version=3.3.8
|
|
revision=1
|
|
build_style=go
|
|
short_desc="Distributed reliable key-value store"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="Apache-2.0"
|
|
hostmakedepends="git glide"
|
|
go_import_path="github.com/coreos/etcd"
|
|
go_package="${go_import_path} ${go_import_path}/etcdctl"
|
|
homepage="https://coreos.com/etcd/docs/latest/"
|
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
|
checksum=f5bc74dd2de1c567a1a36d797399f20cb764069cb3cf3651a593dd7f8a88c616
|
|
conf_files="/etc/sv/etcd/conf"
|
|
system_accounts="etcd"
|
|
make_dirs="/var/lib/etcd 0755 etcd etcd"
|
|
|
|
pre_build() {
|
|
cd $GOSRCPATH
|
|
glide install
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv etcd
|
|
}
|