summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbackup/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/xbackup/PKGBUILD b/xbackup/PKGBUILD
new file mode 100644
index 0000000..95fe29e
--- /dev/null
+++ b/xbackup/PKGBUILD
@@ -0,0 +1,19 @@
+
+# Maintainer: xengineering <me@xengineering.eu>
+
+pkgname=xbackup
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Convenience wrapper around the Borg backup tool'
+arch=('any')
+url="https://gitea.xengineering.eu/xengineering/${pkgname}"
+license=('GPL3')
+depends=('licenses' 'python' 'borg')
+backup=('etc/xbackup/config.json')
+source=("${url}/archive/${pkgver}.tar.gz")
+md5sums=('196708c3b109b04b4a4b18fa4cfde477')
+
+package() {
+ cd ${srcdir}/${pkgname}
+ make DESTDIR="${pkgdir}" install
+}