blob: 2b0e7a14f701abce48c23718fc89fe99a8092109 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Marinus Enzinger <marinus at enzingerm dot de>
pkgname=snapborg
pkgver=0.1.0
pkgrel=1
pkgdesc='Automated backups of snapper snapshots to borg repositories. Inspired by borgmatic'
arch=('any')
license=('GPL3')
url='https://github.com/enzingerm/snapborg.git'
depends=('borg' 'snapper' 'python' 'python-yaml')
optdepends=()
makedepends=('python-setuptools')
backup=(etc/snapborg.yaml)
source=(git+https://github.com/enzingerm/${pkgname}.git#branch=master)
sha256sums=('SKIP')
build() {
cd "${pkgname}"
python setup.py build
}
package() {
cd "${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|