summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorАртемий2021-09-10 23:43:54 +0300
committerАртемий2021-09-10 23:43:54 +0300
commit44d4bcecb244decc0c730ea0e636a599e5c80411 (patch)
treeaedfc39ea0793fe66022855bf2b753fd15803089
parent03b3b4f3482ab3deecd93674e94826b9189b88d8 (diff)
downloadaur-44d4bcecb244decc0c730ea0e636a599e5c80411.tar.gz
add /etc/kesboot.conf to backup array
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 241a3099c060..fd987a595555 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,7 @@ pkgbase = kesboot-git
depends = util-linux
depends = coreutils
depends = binutils
+ backup = etc/kesboot.conf
source = kesboot-git::git+https://github.com/BiteDasher/kesboot.git
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index b61f97505831..60bc380ebc86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,8 @@ depends=('efibootmgr' 'sed' 'grep' 'util-linux' 'coreutils' 'binutils')
makedepends=('git')
source=("${pkgname}::git+https://github.com/BiteDasher/kesboot.git")
sha512sums=("SKIP")
+backup=('etc/kesboot.conf')
+
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'