From 02b500c76f2e27fe1a9a0bbdf4ab7896f03c0dff Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 13 Jun 2023 20:24:46 +0200 Subject: [PATCH] fix: backup etc/conf.d/prometheus-x509-certificate-exporter --- .SRCINFO | 3 ++- PKGBUILD | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 468764a..73a20de 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,14 @@ pkgbase = prometheus-x509-certificate-exporter pkgdesc = metric exporter for x509 certificates pkgver = 3.6.0 - pkgrel = 4 + pkgrel = 5 url = https://github.com/enix/x509-certificate-exporter arch = armv7h arch = aarch64 arch = x86_64 license = MIT makedepends = go + backup = etc/conf.d/prometheus-x509-certificate-exporter source = https://github.com/enix/x509-certificate-exporter/archive/refs/tags/v3.6.0.zip source = prometheus-x509-certificate-exporter source = systemd.service diff --git a/PKGBUILD b/PKGBUILD index ec90193..5a54901 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,12 +3,16 @@ pkgname=prometheus-x509-certificate-exporter _pkgname=x509-certificate-exporter pkgver=3.6.0 -pkgrel=4 +pkgrel=5 pkgdesc="metric exporter for x509 certificates" arch=('armv7h' 'aarch64' 'x86_64') url="https://github.com/enix/$_pkgname" license=('MIT') makedepends=('go') +backup=( + etc/conf.d/prometheus-x509-certificate-exporter +) + source=( "$url/archive/refs/tags/v$pkgver.zip" 'prometheus-x509-certificate-exporter'