Commit 201bf6fc authored by Francesco Colista's avatar Francesco Colista

testing/etcd: improving download the config file

using pkgver with substring, there's not need to modify the source
file for  default config
parent 19e77761
......@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=etcd
pkgver=3.4.3
pkgrel=1
pkgrel=2
pkgdesc="A highly-available key value store for shared configuration and service discovery"
url="https://github.com/coreos/etcd"
arch="x86_64 ppc64le"
......@@ -13,7 +13,7 @@ pkgusers="$pkgname"
pkggroups="$pkgname"
subpackages="$pkgname-doc $pkgname-ctl $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/coreos/etcd/archive/v$pkgver.tar.gz
$pkgname.yaml::https://raw.githubusercontent.com/etcd-io/etcd/release-3.4/etcd.conf.yml.sample
$pkgname.yaml::https://raw.githubusercontent.com/etcd-io/etcd/release-${pkgver%.*}/etcd.conf.yml.sample
$pkgname.confd
$pkgname.initd
"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment