[arch-commits] Commit in borgmatic/trunk (PKGBUILD)
    Daniel M. Capella 
    polyzen at gemini.archlinux.org
       
    Wed Jun  1 22:32:31 UTC 2022
    
    
  
    Date: Wednesday, June 1, 2022 @ 22:32:31
  Author: polyzen
Revision: 1218376
upgpkg: borgmatic 1.6.2-2: Install bash completions
Modified:
  borgmatic/trunk/PKGBUILD
----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-01 22:15:54 UTC (rev 1218375)
+++ PKGBUILD	2022-06-01 22:32:31 UTC (rev 1218376)
@@ -7,7 +7,7 @@
 
 pkgname=borgmatic
 pkgver=1.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple, configuration-driven backup software for servers and workstations'
 arch=('any')
 url=https://torsion.org/borgmatic
@@ -42,6 +42,9 @@
   cd $pkgname-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/lib/systemd/system sample/systemd/*
+  install -d "$pkgdir"/usr/share/bash-completion/completions
+  ./test-env/bin/borgmatic --bash-completion > \
+    "$pkgdir"/usr/share/bash-completion/completions/$pkgname
 }
 
 # vim: ts=2 sw=2 et:
    
    
More information about the arch-commits
mailing list