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

Morten Linderud foxboron at gemini.archlinux.org
Mon Jun 6 08:39:56 UTC 2022


    Date: Monday, June 6, 2022 @ 08:39:55
  Author: foxboron
Revision: 1224691

archrelease: copy trunk to community-testing-x86_64

Added:
  borg/repos/community-testing-x86_64/
  borg/repos/community-testing-x86_64/PKGBUILD
    (from rev 1224690, borg/trunk/PKGBUILD)

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

Copied: borg/repos/community-testing-x86_64/PKGBUILD (from rev 1224690, borg/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-06-06 08:39:55 UTC (rev 1224691)
@@ -0,0 +1,49 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=borg
+_pkgname=borgbackup
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Deduplicating backup program with compression and authenticated encryption'
+url='https://borgbackup.github.io/'
+license=('BSD')
+arch=('x86_64')
+depends=('acl' 'lz4' 'openssl' 'xz' 'zstd' 'python' 'python-packaging'
+         'python-msgpack')
+optdepends=('openssh: repositories on remote hosts'
+            'python-llfuse: mounting backups as a FUSE file system')
+makedepends=('python-setuptools' 'python-setuptools-scm' 'python-pkgconfig'
+             'python-sphinx' 'python-guzzle-sphinx-theme')
+checkdepends=('python-pytest' 'python-dateutil')
+provides=('borgbackup')
+replaces=('borgbackup')
+source=("https://github.com/$_pkgname/$pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz"{,.asc})
+sha256sums=('9f9ce2d1923cb33a147ee6d08177d860974567721b1142fca67914a02e64c633'
+            'SKIP')
+validpgpkeys=('6D5BEF9ADD2075805747B70F9F88FB52FAF7B393') # Thomas Waldmann <tw at waldmann-edv.de>
+
+build() {
+  cd "$_pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$_pkgname-$pkgver/build/lib.linux-$CARCH-3".*/
+  PYTHONPATH=$PWD PYTHONDONTWRITEBYTECODE=1 pytest -k 'not benchmark'
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 scripts/shell_completions/bash/borg \
+    "$pkgdir/usr/share/bash-completion/completions/borg"
+  install -Dm644 scripts/shell_completions/fish/borg.fish \
+    "$pkgdir/usr/share/fish/vendor_completions.d/borg.fish"
+  install -Dm644 scripts/shell_completions/zsh/_borg "$pkgdir/usr/share/zsh/site-functions/_borg"
+
+  install -Dm644 -t "$pkgdir/usr/share/man/man1/" "docs/man/"*.1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list