Add backup directive to PKGBUILD (#2704)
This way changes to the default config made by users are preserved if polybar ever changes the default config Ref: https://aur.archlinux.org/packages/polybar-git#comment-863283
This commit is contained in:
parent
6a2d7b5dde
commit
f9fc02e69c
@ -14,6 +14,7 @@ depends=("libuv" "cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm"
|
|||||||
optdepends=("i3-wm: i3 module support")
|
optdepends=("i3-wm: i3 module support")
|
||||||
makedepends=("cmake" "git" "python" "pkg-config" "python-sphinx"
|
makedepends=("cmake" "git" "python" "pkg-config" "python-sphinx"
|
||||||
"python-packaging" "i3-wm")
|
"python-packaging" "i3-wm")
|
||||||
|
backup=("etc/polybar/config.ini")
|
||||||
provides=("polybar")
|
provides=("polybar")
|
||||||
conflicts=("polybar")
|
conflicts=("polybar")
|
||||||
source=("${_pkgname}::git+${url}.git")
|
source=("${_pkgname}::git+${url}.git")
|
||||||
|
@ -12,6 +12,7 @@ depends=("libuv" "cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm"
|
|||||||
"jsoncpp" "curl")
|
"jsoncpp" "curl")
|
||||||
optdepends=("i3-wm: i3 module support")
|
optdepends=("i3-wm: i3 module support")
|
||||||
makedepends=("cmake" "python" "pkg-config" "python-sphinx" "python-packaging" "i3-wm")
|
makedepends=("cmake" "python" "pkg-config" "python-sphinx" "python-packaging" "i3-wm")
|
||||||
|
backup=("etc/polybar/config.ini")
|
||||||
conflicts=("polybar-git")
|
conflicts=("polybar-git")
|
||||||
source=(${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
source=(${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||||
sha256sums=('73becc942e7d2418bc72bd194f2037a2a86792219fd561b663a8509fd5f547a0')
|
sha256sums=('73becc942e7d2418bc72bd194f2037a2a86792219fd561b663a8509fd5f547a0')
|
||||||
|
Loading…
Reference in New Issue
Block a user