From 4f6a3d27dfdf656b10f4c2db6eed98132b43e76d Mon Sep 17 00:00:00 2001 From: Bazaah Date: Sat, 10 Dec 2022 21:38:50 +0000 Subject: [PATCH] pkg: add backup() for config file --- .SRCINFO | 5 +++-- PKGBUILD | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 34a58f2..655a903 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = kdnotify-git pkgdesc = A keepalived FIFO notification handler pkgver = 1.0.6 - pkgrel = 1 + pkgrel = 2 url = https://git.st8l.com/luxolus/kdnotify arch = any license = MPL2 @@ -9,7 +9,8 @@ pkgbase = kdnotify-git makedepends = go depends = glibc provides = kdnotify=1.0.6 - source = kdnotify-git-1.0.6-1.tar.gz::https://git.st8l.com/luxolus/kdnotify/archive/v1.0.6.tar.gz + backup = etc/kdnotify/config.yaml + source = kdnotify-git-1.0.6-2.tar.gz::https://git.st8l.com/luxolus/kdnotify/archive/v1.0.6.tar.gz sha512sums = f15d78b06c19a505230d7be1677aebd7a96f766fa9f3bc68f93e4d3d5296395254e84b82ee31bdc5c0c79e0f9ece81ad2e715f06d42a3f53c7239ff9ec50bf2b pkgname = kdnotify-git diff --git a/PKGBUILD b/PKGBUILD index b3e475a..6ecb61e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgname='kdnotify-git' pkgdesc='A keepalived FIFO notification handler' pkgver=1.0.6 -pkgrel=1 +pkgrel=2 arch=('any') license=('MPL2') url='https://git.st8l.com/luxolus/kdnotify' @@ -18,6 +18,7 @@ sha512sums=('f15d78b06c19a505230d7be1677aebd7a96f766fa9f3bc68f93e4d3d5296395254e makedepends=('glibc' 'go') depends=('glibc') provides=("kdnotify=${pkgver}") +backup=('etc/kdnotify/config.yaml') prepare() { cd "${srcdir}/kdnotify"