Date: Thursday, October 27, 2022 @ 04:13:10
  Author: grawlinson
Revision: 1338034

upgpkg: duplicity 1.0.1-2; FS#76307

Quickfix for FS#76307, waiting on upstream response.

Modified:
  duplicity/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-27 04:01:59 UTC (rev 1338033)
+++ PKGBUILD    2022-10-27 04:13:10 UTC (rev 1338034)
@@ -5,7 +5,7 @@
 
 pkgname=duplicity
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync 
algorithm'
 arch=('x86_64')
 url='https://duplicity.gitlab.io/'
@@ -25,6 +25,13 @@
 
sha512sums=('3f92800b8c8d090e7c613bce81382659fd057f91e383faaca281af444f4237e903aefceb412078893ff5a7159a0bc73edfe50b0ef35b84f57e7b882ffcf12d12')
 
b2sums=('95627724b4593018dbe626c1496b7b94bf96cdc5923aea7d7f61ca267b7c16f0b6392749e8b22a593d8ec27288e4ef9353e2144b9eb19e984095de63a43727b1')
 
+prepare() {
+  cd "$pkgname-rel.$pkgver"
+
+  # FS#76307 - fix version string
+  sed -e "s/\$version/$pkgver/" -i "$pkgname/__init__.py"
+}
+
 package() {
   cd "$pkgname-rel.$pkgver"
 

Reply via email to