summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Seiler2015-10-26 17:57:44 +0100
committerAlex Seiler2015-10-26 17:57:44 +0100
commite4ca20f657b14569052506738afd3d0bfd93c3d4 (patch)
tree34951dacfafbd670125910bdcf681b67312de1c9
downloadaur-e4ca20f657b14569052506738afd3d0bfd93c3d4.tar.gz
Initial commit.
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD31
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fdc58ffa9c8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = backupper
+ pkgdesc = A tool to perform full and incremental backups.
+ pkgver = 0.1.3
+ pkgrel = 1
+ url = https://github.com/goggle/backupper
+ arch = any
+ license = MIT
+ depends = python
+ depends = tar
+ optdepends = gzip: gzip compression support
+ optdepends = bzip2: bzip2 compression support
+ optdepends = xz: xz compression support
+ optdepends = systemd: use systemd timer for incremental backups
+ options = !emptydirs
+ backup = etc/backupper.conf
+ source = https://github.com/goggle/backupper/releases/download/v0.1.3/backupper-0.1.3.tar.xz
+ md5sums = 23ef391acb6cdd2c1e08a8067ad61b3b
+
+pkgname = backupper
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f23c02ea771
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Alex Seiler <seileralex at gmail dot com>
+pkgname=backupper
+pkgver=0.1.3
+pkgrel=1
+pkgdesc="A tool to perform full and incremental backups."
+arch=('any')
+url="https://github.com/goggle/backupper"
+license=('MIT')
+groups=()
+depends=('python' 'tar')
+optdepends=('gzip: gzip compression support'
+ 'bzip2: bzip2 compression support'
+ 'xz: xz compression support'
+ 'systemd: use systemd timer for incremental backups')
+makedepends=()
+provides=()
+conflicts=()
+replaces=()
+
+backup=('etc/backupper.conf')
+options=(!emptydirs)
+install=
+source=("https://github.com/goggle/backupper/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
+md5sums=('23ef391acb6cdd2c1e08a8067ad61b3b')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 timers/backupper-daily.service "$pkgdir/usr/lib/systemd/system/backupper-daily.service"
+ install -Dm644 timers/backupper-daily.timer "$pkgdir/usr/lib/systemd/system/backupper-daily.timer"
+}