summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRene Hollander2019-10-25 15:51:25 +0200
committerRene Hollander2019-10-25 15:51:25 +0200
commitce8c8e6a552e50388bd966de3496261dc4833683 (patch)
treea57032648ce4d29757ee9003aaf3ec662acf7155
parente8e6469db023189c02a457f503370005cfb6dc92 (diff)
downloadaur-ce8c8e6a552e50388bd966de3496261dc4833683.tar.gz
Adds config file to backup array to avoid overwrite on package update.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 791055081ed..e9263b0ca9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nfancurve
pkgdesc = A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs
pkgver = 019
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/nan0s7/nfancurve
install = nfancurve.install
arch = any
@@ -11,6 +11,7 @@ pkgbase = nfancurve
depends = nvidia-settings
depends = procps
conflicts = nfancurve-git
+ backup = etc/nfancurve.conf
source = nfancurve-019::https://github.com/nan0s7/nfancurve/archive/v019.tar.gz
sha512sums = 17f792781cafaaed19de147ecea7e7ba857650d45a7a061b5982b3a2133c1d1f858630c7bd001a3c1dd7e4e052492e3b42cdc852e22c0d56904a07755b6d45a1
diff --git a/PKGBUILD b/PKGBUILD
index 71670645a53..4d1d5731869 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=nfancurve
pkgname=${_pkgname}
pkgver=019
-pkgrel=1
+pkgrel=2
pkgdesc="A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs"
arch=("any")
url="https://github.com/nan0s7/nfancurve"
@@ -13,6 +13,7 @@ license=("GPL3")
depends=("bash" "nvidia" "nvidia-settings" "procps")
conflicts=("${_pkgname}-git")
+backup=('etc/nfancurve.conf')
install=${_pkgname}.install
source=("${_pkgname}-${pkgver}::https://github.com/nan0s7/${_pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('17f792781cafaaed19de147ecea7e7ba857650d45a7a061b5982b3a2133c1d1f858630c7bd001a3c1dd7e4e052492e3b42cdc852e22c0d56904a07755b6d45a1')