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

George Rawlinson grawlinson at gemini.archlinux.org
Tue Feb 1 03:39:04 UTC 2022


    Date: Tuesday, February 1, 2022 @ 03:39:03
  Author: grawlinson
Revision: 1121549

upgpkg: vaultwarden-web 2.25.1.b-1

A little birdy (vercmp) told me that upstream's versioning scheme is not
compatible with vercmp's internal versioning scheme.

Upstream uses 2.25.1b, and vercmp assumes this is older than the one in the
repositories (2.25.1). So as a workaround, this updates the version to be
2.25.1.b, which vercmp thinks is newer than both 2.25.1 and 2.25.1b.

Modified:
  vaultwarden-web/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-01 03:39:02 UTC (rev 1121548)
+++ PKGBUILD	2022-02-01 03:39:03 UTC (rev 1121549)
@@ -4,8 +4,9 @@
 
 pkgname=vaultwarden-web
 _pkgver=2.25.0
-pkgver=2.25.1b
-_upstreamver=${pkgver%[[:lower:]]}
+pkgver=2.25.1.b
+_pkgver_without_last_dot=2.25.1b # i'm tired and i need more monty python
+_upstreamver=${_pkgver%[[:lower:]]}
 _patchver=$_pkgver
 pkgrel=1
 pkgdesc='Bitwarden web vault with the patches to make it work with Vaultwarden'
@@ -18,7 +19,7 @@
 replaces=('bitwarden_rs-vault' 'bitwarden_rs-web')
 install=$pkgname.install
 source=("bitwarden-web::git+https://github.com/bitwarden/web.git#tag=v$_upstreamver"
-        "$pkgname-v$_patchver.patch::https://raw.githubusercontent.com/dani-garcia/bw_web_builds/v$pkgver/patches/v$_patchver.patch")
+        "$pkgname-v$_patchver.patch::https://raw.githubusercontent.com/dani-garcia/bw_web_builds/v$_pkgver_without_last_dot/patches/v$_patchver.patch")
 b2sums=('SKIP'
         '5023c74e342d9e416f8de2a781a846a1027fba28bf763330c196b8ed836bfc971bf156715beaf88f6a73c24c660f25f61d27457cc50a7bc6e1c4630001f3c989')
 



More information about the arch-commits mailing list