summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ruhier2017-05-23 18:16:51 +0200
committerAnthony Ruhier2017-05-23 18:16:51 +0200
commit725ff2d7b6b7f03597a755821af69293c1a463c5 (patch)
treeee3061ed3e8783f45353f37e98b2eb10041eb2f6
downloadaur-725ff2d7b6b7f03597a755821af69293c1a463c5.tar.gz
v0.1.0
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD37
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..59a36140e69
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = virt-backup
+ pkgdesc = Automatic backups for Libvirt
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/Anthony25/virt-backup
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = libvirt-python3
+ depends = python-appdirs
+ depends = python-argparse
+ depends = python-arrow
+ depends = python-defusedxml
+ depends = python-lxml
+ depends = python-tqdm
+ depends = python-yaml
+ options = !emptydirs
+ source = https://github.com/Anthony25/virt-backup/archive/0.1.0.tar.gz
+ sha256sums = 4eb504960b9cec20e86de4931b70a4a1018c4ca18e6ddbba8731dad44e5a3ad1
+
+pkgname = virt-backup
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4de49854a34
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Anthony25 <Anthony Ruhier>
+#
+# Thanks to Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> for
+# his PKGBUILD that served as a base for this one
+
+pkgname=virt-backup
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Automatic backups for Libvirt"
+arch=(any)
+url="https://github.com/Anthony25/virt-backup"
+license=(BSD)
+makedepends=(
+ python-setuptools
+)
+depends=(
+ libvirt-python3
+ python-appdirs
+ python-argparse
+ python-arrow
+ python-defusedxml
+ python-lxml
+ python-tqdm
+ python-yaml
+)
+options=(!emptydirs)
+source=("https://github.com/Anthony25/virt-backup/archive/${pkgver}.tar.gz")
+sha256sums=('4eb504960b9cec20e86de4931b70a4a1018c4ca18e6ddbba8731dad44e5a3ad1')
+
+package() {
+ cd "${srcdir}/virt-backup"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -D -m644 virt-backup-clean.service "$pkgdir/usr/lib/systemd/system/virt-backup-clean.service"
+}
+
+# vim:set ts=2 sw=2 et: