Date: Wednesday, October 9, 2019 @ 22:58:27
  Author: polyzen
Revision: 514391

Initial commit

Added:
  borgmatic/
  borgmatic/repos/
  borgmatic/trunk/
  borgmatic/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: borgmatic/trunk/PKGBUILD
===================================================================
--- borgmatic/trunk/PKGBUILD                            (rev 0)
+++ borgmatic/trunk/PKGBUILD    2019-10-09 22:58:27 UTC (rev 514391)
@@ -0,0 +1,35 @@
+# Maintainer: Daniel M. Capella <poly...@archlinux.org>
+# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
+# Contributor: Alexander Görtz <a...@nyloc.de>
+# Contributor: Dan Beste <dan.ray.be...@gmail.com>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+# Contributor: stef204 <https://aur.archlinux.org/account/stef204>
+
+pkgname=borgmatic
+pkgver=1.3.23
+pkgrel=2
+pkgdesc='Wrapper script for Borg backup software that creates and prunes 
backups'
+arch=('any')
+url=https://torsion.org/borgmatic
+license=('GPL3')
+depends=('borg' 'python-colorama' 'python-pykwalify' 'python-ruamel-yaml' 
'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha256sums=('8362a1f65ffb252dddaa7b013f67752d7e530341163c1a51f52930a954625b22')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/lib/systemd/system sample/systemd/*
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to