summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f18903604cb..b929ee4242f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,6 +14,7 @@ pkgbase = serenity-git
optdepends = sing-box
provides = serenity
conflicts = serenity
+ backup = etc/serenity/config.json
source = serenity::git+https://github.com/SagerNet/serenity.git
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 3d747ca2add1..3bdb068633c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,7 @@ makedepends=('git' 'go')
optdepends=('sing-box')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
+backup=('etc/serenity/config.json')
source=("${_pkgname}::git+${url}.git")
sha512sums=('SKIP')