aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-11-13 11:37:44 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-11-13 11:38:40 +0000
commit201bf6fc5d38fd0e26e615afd2b9f56c80e208c2 (patch)
tree98bb23a39bd580fbcca2c177a6bccea507d0d629
parent19e77761e009f51b82e7ae4880b1eba56498e715 (diff)
downloadaports-201bf6fc5d38fd0e26e615afd2b9f56c80e208c2.tar.gz
aports-201bf6fc5d38fd0e26e615afd2b9f56c80e208c2.tar.bz2
aports-201bf6fc5d38fd0e26e615afd2b9f56c80e208c2.tar.xz
testing/etcd: improving download the config file
using pkgver with substring, there's not need to modify the source file for default config
-rw-r--r--testing/etcd/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/etcd/APKBUILD b/testing/etcd/APKBUILD
index 82de33b5b3..29ef1a7e57 100644
--- a/testing/etcd/APKBUILD
+++ b/testing/etcd/APKBUILD
@@ -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
"