summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Mohr2020-04-25 18:50:19 +0200
committerAlexander Mohr2020-04-25 18:50:19 +0200
commit385552566e2daf3a1b25bc9df2b0c9a58bbc3701 (patch)
treeef3a4612a272ae30101efc3acd546feb6383f79e
parent78f9fb0ee7bf1aab90d31f9286c9a90bfc58b7bf (diff)
downloadaur-385552566e2daf3a1b25bc9df2b0c9a58bbc3701.tar.gz
Added systemd service to backup file to prevent overwrites
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a50947f26a4..d780a5bb3837 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tp-kb-backlight-git
pkgdesc = Automated keyboard backlight
pkgver = 1.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/alexmohr/keyboard-backlight
arch = x86_64
license = MIT
@@ -9,6 +9,7 @@ pkgbase = tp-kb-backlight-git
makedepends = cmake
makedepends = gcc
depends = libinput
+ backup = etc/systemd/system/keyboard_backlight.service
source = git+https://github.com/alexmohr/keyboard-backlight
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index e244bf8bb438..bde72fcbd82a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
pkgname=tp-kb-backlight-git
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc='Automated keyboard backlight'
arch=('x86_64')
url='https://github.com/alexmohr/keyboard-backlight'
license=('MIT')
depends=('libinput')
makedepends=('git' 'cmake' 'gcc')
+backup=('etc/systemd/system/keyboard_backlight.service')
source=("git+https://github.com/alexmohr/keyboard-backlight")
sha512sums=('SKIP')