summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Wienke2017-03-28 23:08:47 +0200
committerJohannes Wienke2017-03-28 23:08:47 +0200
commitc09aecbe9d6c5308bcd83d25560f5277e169d009 (patch)
tree24ba51421153551148390eb067513216a7b14eae
parent5abaaae9e6ada15e72a4b5393b1539a654dcf920 (diff)
downloadaur-c09aecbe9d6c5308bcd83d25560f5277e169d009.tar.gz
Backup config files
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ff371667b94..5021bc3b6ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = autosuspend
pkgdesc = A daemon to suspend your server in case of inactivity
pkgver = 0.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/languitar/autosuspend
arch = any
license = GPL2
@@ -11,6 +11,8 @@ pkgbase = autosuspend
optdepends = python-mpd2: MPD playing status checks
optdepends = python-requests: Kodi playing status checks
optdepends = xprintidle: X server idle time cheks
+ backup = etc/autosuspend.conf
+ backup = etc/autosuspend-logging.conf
source = https://github.com/languitar/autosuspend/archive/release-0.4.tar.gz
sha256sums = c7d1f6f238b65d5257bfd4fc74ccdfe4ed5fe340060c1c59f50e7065d88a8dbc
diff --git a/PKGBUILD b/PKGBUILD
index 9102e531416..6c51ee75674 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=autosuspend
pkgver=0.4
-pkgrel=1
+pkgrel=2
pkgdesc="A daemon to suspend your server in case of inactivity"
arch=(any)
url="https://github.com/languitar/autosuspend"
@@ -14,6 +14,8 @@ optdepends=('python-mpd2: MPD playing status checks'
makedepends=('python-setuptools')
source=("https://github.com/languitar/autosuspend/archive/release-${pkgver}.tar.gz")
sha256sums=('c7d1f6f238b65d5257bfd4fc74ccdfe4ed5fe340060c1c59f50e7065d88a8dbc')
+backup=('etc/autosuspend.conf'
+ 'etc/autosuspend-logging.conf')
package() {
cd "$pkgname-release-${pkgver}"