summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Mekkering2017-07-21 12:04:02 +0200
committerAlex Mekkering2017-07-21 12:04:02 +0200
commitd7615c188cb4e6da6e0a2d998826135277fe714b (patch)
tree031ad342c9386490d393cb29164c798ca6986da9
parentc12ae1dbfe115321fbfc53ac7f7b602502902848 (diff)
downloadaur-d7615c188cb4e6da6e0a2d998826135277fe714b.tar.gz
Make sure to backup config file and make it private
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb3c076241a..8ac8de19f1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,20 @@
pkgbase = luky-borg-backup
pkgdesc = Automated backup scripts using Borg Backup, systemd and optionally Nextcloud/ownCloud/Stack
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
arch = any
license = MIT
depends = borg
optdepends = owncloud-client: For backing up to Nextcloud/ownCloud/Stack
+ backup = etc/luky-borg-backup.conf
source = luky-borg-backup
source = luky-borg-backup.service
source = luky-borg-backup.timer
source = luky-borg-backup.conf
- md5sums = e98689841afd51b0f8572085aa2d1917
- md5sums = 1d2f47ca460ab2d477b3753f9a86ae07
- md5sums = 5b876c8ae21d8ce159c161993e97536d
- md5sums = b1ef1610ffd6f3dd792da4869910a917
+ sha256sums = 4410d6f2938d47373f2877f08421ceb69faf302782056cf1c7dcb2290d8c606e
+ sha256sums = a90e9e739cf4adc98ee394e87c7ead7d365783ca321e3b47e6782e69c5638b07
+ sha256sums = 188463a3644df0e70e030d0236b6ef04446cd5064a50a7307f1792c3645e31bd
+ sha256sums = 7245e87ab2516d808158dab177c07247e2c61d5d8c41d61cac4143182c1a6a58
pkgname = luky-borg-backup
diff --git a/PKGBUILD b/PKGBUILD
index 5c00d4087a5..e08c6f0e0aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=luky-borg-backup
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Automated backup scripts using Borg Backup, systemd and optionally Nextcloud/ownCloud/Stack"
arch=(any)
license=('MIT')
@@ -14,14 +14,15 @@ source=('luky-borg-backup'
'luky-borg-backup.timer'
'luky-borg-backup.conf'
)
-md5sums=('e98689841afd51b0f8572085aa2d1917'
- '1d2f47ca460ab2d477b3753f9a86ae07'
- '5b876c8ae21d8ce159c161993e97536d'
- 'b1ef1610ffd6f3dd792da4869910a917')
+backup=('etc/luky-borg-backup.conf')
+sha256sums=('4410d6f2938d47373f2877f08421ceb69faf302782056cf1c7dcb2290d8c606e'
+ 'a90e9e739cf4adc98ee394e87c7ead7d365783ca321e3b47e6782e69c5638b07'
+ '188463a3644df0e70e030d0236b6ef04446cd5064a50a7307f1792c3645e31bd'
+ '7245e87ab2516d808158dab177c07247e2c61d5d8c41d61cac4143182c1a6a58')
package() {
install -D -m 755 "$srcdir/luky-borg-backup" "$pkgdir/usr/bin/luky-borg-backup"
install -D -m 644 "$srcdir/luky-borg-backup.service" "$pkgdir/usr/lib/systemd/system/luky-borg-backup.service"
install -D -m 644 "$srcdir/luky-borg-backup.timer" "$pkgdir/usr/lib/systemd/system/luky-borg-backup.timer"
- install -D -m 644 "$srcdir/luky-borg-backup.conf" "$pkgdir/etc/luky-borg-backup.conf"
+ install -D -m 600 "$srcdir/luky-borg-backup.conf" "$pkgdir/etc/luky-borg-backup.conf"
}