Date: Monday, February 28, 2022 @ 20:13:29
  Author: alex19ep
Revision: 1138644

upgpkg: bitwarden 1.31.3-2 bump to fix FS#73975

Modified:
  bitwarden/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-28 19:40:31 UTC (rev 1138643)
+++ PKGBUILD    2022-02-28 20:13:29 UTC (rev 1138644)
@@ -3,7 +3,7 @@
 
 pkgname=bitwarden
 pkgver=1.31.3
-pkgrel=1
+pkgrel=2
 _electronversion=16
 pkgdesc='A secure and free password manager for all of your devices'
 arch=('x86_64')
@@ -36,7 +36,7 @@
        export ELECTRONVERSION=$_electronversion
        sed -i "s|@electronversion@|${ELECTRONVERSION}|" ../bitwarden.sh
        jq < package.json \
-          '.build["electronVersion"]=$ENV.SYSTEM_ELECTRON_VERSION | 
.build["electronDist"]="/usr/lib/electron"' \
+          '.build["electronVersion"]=$ENV.SYSTEM_ELECTRON_VERSION | 
.build["electronDist"]="/usr/lib/electron\(env.ELECTRONVERSION)"' \
           > package.json.patched
        mv package.json.patched package.json
 }
@@ -43,7 +43,7 @@
 
 build() {
        cd bitwarden
-       electronDist=/usr/lib/electron
+       electronDist=/usr/lib/electron$_electronversion
        electronVer=$(electron$_electronversion --version | tail -c +2)
        export npm_config_cache="$srcdir/npm_cache"
        export ELECTRON_SKIP_BINARY_DOWNLOAD=1

Reply via email to