[arch-commits] Commit in bitwarden-cli/trunk (PKGBUILD)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Fri Jul 15 22:01:42 UTC 2022
Date: Friday, July 15, 2022 @ 22:01:42
Author: alex19ep
Revision: 1253007
upgpkg: bitwarden-cli 2022.6.2-2 lock nodejs version to fix FS#74929
Modified:
bitwarden-cli/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-15 22:01:28 UTC (rev 1253006)
+++ PKGBUILD 2022-07-15 22:01:42 UTC (rev 1253007)
@@ -3,25 +3,19 @@
pkgname=bitwarden-cli
pkgver=2022.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="The command line vault"
arch=('any')
url="https://github.com/bitwarden/cli"
license=('GPL3')
-depends=('nodejs')
+depends=('nodejs-lts-gallium')
makedepends=('git' 'npm' 'modclean')
options=(!emptydirs)
-source=(bitwarden::git+https://github.com/bitwarden/clients.git#tag=cli-v${pkgver}
- bitwarden-jslib::git+https://github.com/bitwarden/jslib.git)
-sha512sums=('SKIP'
- 'SKIP')
+source=(bitwarden::git+https://github.com/bitwarden/clients.git#tag=cli-v${pkgver})
+sha512sums=('SKIP')
prepare() {
cd bitwarden
- # Link jslib
- git submodule init
- git config submodule.jslib.url "$srcdir/bitwarden-jslib"
- git submodule update
export npm_config_build_from_source=true
export npm_config_cache="$srcdir/npm_cache"
@@ -32,7 +26,7 @@
build() {
cd bitwarden/apps/cli
export npm_config_cache="$srcdir/npm_cache"
- npm run build
+ npm run dist:lin
npm run clean
node ./build/bw.js completion --shell zsh > _bw
}
More information about the arch-commits
mailing list