[arch-commits] Commit in borgmatic/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 18:02:21 UTC 2020
Date: Thursday, November 12, 2020 @ 18:02:21
Author: felixonmars
Revision: 752918
archrelease: copy trunk to community-staging-any
Added:
borgmatic/repos/community-staging-any/
borgmatic/repos/community-staging-any/PKGBUILD
(from rev 752917, borgmatic/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: borgmatic/repos/community-staging-any/PKGBUILD (from rev 752917, borgmatic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 18:02:21 UTC (rev 752918)
@@ -0,0 +1,37 @@
+# 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.5.10
+pkgrel=2
+pkgdesc='Simple, configuration-driven backup software for servers and workstations'
+arch=('any')
+url=https://torsion.org/borgmatic
+license=('GPL3')
+depends=('borg' 'python-colorama' 'python-pykwalify' 'python-requests'
+ 'python-ruamel-yaml' 'python-setuptools')
+optdepends=('python-llfuse: for mount action')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('31459e5573c34b7b9e53ad54012be6d367e2f23c0612fd5a315593ebf23074c5')
+
+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