[arch-commits] Commit in borgmatic/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 03:30:39 UTC 2019


    Date: Monday, November 4, 2019 @ 03:30:39
  Author: felixonmars
Revision: 523064

archrelease: copy trunk to community-staging-any

Added:
  borgmatic/repos/community-staging-any/
  borgmatic/repos/community-staging-any/PKGBUILD
    (from rev 523063, borgmatic/trunk/PKGBUILD)

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

Copied: borgmatic/repos/community-staging-any/PKGBUILD (from rev 523063, borgmatic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 03:30:39 UTC (rev 523064)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
+# Contributor: Alexander Görtz <aur at nyloc.de>
+# Contributor: Dan Beste <dan.ray.beste at gmail.com>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+# Contributor: stef204 <https://aur.archlinux.org/account/stef204>
+
+pkgname=borgmatic
+pkgver=1.4.0
+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-requests'
+         'python-ruamel-yaml' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('861467e5d7c1588e9e356966e6a9b8fca108e6bd17700d9a20afc8d00ee39116')
+
+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:



More information about the arch-commits mailing list