[arch-commits] Commit in duplicity/trunk (PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Wed Aug 18 04:15:01 UTC 2021


    Date: Wednesday, August 18, 2021 @ 04:15:01
  Author: grawlinson
Revision: 1002862

upgpkg: duplicity 0.8.20-1

* New upstream release.
* Move documentation to the correct directory.

Modified:
  duplicity/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-18 02:49:00 UTC (rev 1002861)
+++ PKGBUILD	2021-08-18 04:15:01 UTC (rev 1002862)
@@ -3,8 +3,7 @@
 # Contributor: Aaron Schaefer <aaron at elasticdog.com>
 
 pkgname=duplicity
-pkgver=0.8.19
-_pkgver=0.8.19
+pkgver=0.8.20
 pkgrel=1
 pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.'
 arch=('x86_64')
@@ -21,13 +20,17 @@
             'python-pydrive: Google Drive backend'
             'python-requests-oauthlib: OneDrive backend'
             'rsync: rsync backend')
-source=("https://launchpad.net/$pkgname/0.8-series/$pkgver/+download/$pkgname-$_pkgver.tar.gz"{,.sig})
-md5sums=('96e091694831d8d15d3855c1b109251b'
-         'SKIP')
+source=("https://launchpad.net/$pkgname/0.8-series/$pkgver/+download/$pkgname-$pkgver.tar.gz"{,.sig})
+b2sums=('af3fd95b699cd9b3c6bbe259e0dd898fc058461efcb2d1d51c8c2d539df7e32fe70fb6af4b314cd6fce219345f23eb0ab342d0c7f28b05ec1ee4333c02d93415'
+        'SKIP')
 validpgpkeys=('9D95920CED4A8D5F8B086A9F8B6F8FF4E654E600'
               '9946FB5BE18E34E016DAE992330B3C2A96A9EA9C')
 
 package() {
-	cd "${srcdir}/${pkgname}-${_pkgver}"
+	cd "${pkgname}-${pkgver}"
 	python setup.py install --root="$pkgdir" --optimize=1
+
+  # move documentation to the correct directory
+  cd "$pkgdir/usr/share/doc"
+  mv "$pkgname-$pkgver" "$pkgname"
 }



More information about the arch-commits mailing list