Date: Thursday, March 17, 2022 @ 01:37:32
  Author: alex19ep
Revision: 1156246

archrelease: copy trunk to community-any

Added:
  bitwarden-cli/repos/community-any/PKGBUILD
    (from rev 1156245, bitwarden-cli/trunk/PKGBUILD)
Deleted:
  bitwarden-cli/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-17 01:37:28 UTC (rev 1156245)
+++ PKGBUILD    2022-03-17 01:37:32 UTC (rev 1156246)
@@ -1,54 +0,0 @@
-# Maintainer: Alexander Epaneshnikov <alex1...@archlinux.com>
-# Contributor: libertylocked <libertyloc...@disroot.org>
-
-pkgname=bitwarden-cli
-pkgver=1.21.1
-pkgrel=1
-pkgdesc="The command line vault"
-arch=('any')
-url="https://github.com/bitwarden/cli";
-license=('GPL3')
-depends=('nodejs>=16')
-makedepends=('git' 'npm' 'modclean')
-options=(!emptydirs)
-source=(bitwarden-cli::git+https://github.com/bitwarden/cli.git#tag=v${pkgver}
-        bitwarden-jslib::git+https://github.com/bitwarden/jslib.git)
-sha512sums=('SKIP'
-            'SKIP')
-
-prepare() {
-       cd bitwarden-cli
-       # Link jslib
-       git submodule init
-       git config submodule.jslib.url "$srcdir/bitwarden-jslib"
-       git submodule update
-}
-
-build() {
-       cd bitwarden-cli
-       export npm_config_cache="$srcdir/npm_cache"
-       npm install
-       npm run build
-       npm run clean
-       node ./build/bw.js completion --shell zsh > _bw
-}
-
-package() {
-       cd bitwarden-cli
-       npm install --production -g --prefix "$pkgdir"/usr $(npm pack . | tail 
-1)
-
-       # Non-deterministic race in npm gives 777 permissions to random 
directories.
-       # See https://github.com/npm/npm/issues/9359 for details.
-       chmod -R u=rwX,go=rX "$pkgdir"
-       # npm gives ownership of ALL FILES to build user
-       # https://bugs.archlinux.org/task/63396
-       chown -R root:root "${pkgdir}"
-
-       # package zsh completions
-       install -vDm644 _bw -t "${pkgdir}/usr/share/zsh/site-functions"
-
-       # cleanup
-       sed -e "s|${srcdir}|/|" -i 
"$pkgdir"/usr/lib/node_modules/@bitwarden/cli/package.json
-       find "$pkgdir"/usr/lib/node_modules -name 'package.json' -exec sed -e 
"s|${srcdir}||" -i {} \;
-       modclean --path "$pkgdir"/usr/lib -r -a 
"*.ts,.bin,.github,.vscode,bin.js" --ignore='license'
-}

Copied: bitwarden-cli/repos/community-any/PKGBUILD (from rev 1156245, 
bitwarden-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-03-17 01:37:32 UTC (rev 1156246)
@@ -0,0 +1,54 @@
+# Maintainer: Alexander Epaneshnikov <alex1...@archlinux.com>
+# Contributor: libertylocked <libertyloc...@disroot.org>
+
+pkgname=bitwarden-cli
+pkgver=1.22.0
+pkgrel=1
+pkgdesc="The command line vault"
+arch=('any')
+url="https://github.com/bitwarden/cli";
+license=('GPL3')
+depends=('nodejs>=16')
+makedepends=('git' 'npm' 'modclean')
+options=(!emptydirs)
+source=(bitwarden-cli::git+https://github.com/bitwarden/cli.git#tag=v${pkgver}
+        bitwarden-jslib::git+https://github.com/bitwarden/jslib.git)
+sha512sums=('SKIP'
+            'SKIP')
+
+prepare() {
+       cd bitwarden-cli
+       # Link jslib
+       git submodule init
+       git config submodule.jslib.url "$srcdir/bitwarden-jslib"
+       git submodule update
+}
+
+build() {
+       cd bitwarden-cli
+       export npm_config_cache="$srcdir/npm_cache"
+       npm install
+       npm run build
+       npm run clean
+       node ./build/bw.js completion --shell zsh > _bw
+}
+
+package() {
+       cd bitwarden-cli
+       npm install --production -g --prefix "$pkgdir"/usr $(npm pack . | tail 
-1)
+
+       # Non-deterministic race in npm gives 777 permissions to random 
directories.
+       # See https://github.com/npm/npm/issues/9359 for details.
+       chmod -R u=rwX,go=rX "$pkgdir"
+       # npm gives ownership of ALL FILES to build user
+       # https://bugs.archlinux.org/task/63396
+       chown -R root:root "${pkgdir}"
+
+       # package zsh completions
+       install -vDm644 _bw -t "${pkgdir}/usr/share/zsh/site-functions"
+
+       # cleanup
+       sed -e "s|${srcdir}|/|" -i 
"$pkgdir"/usr/lib/node_modules/@bitwarden/cli/package.json
+       find "$pkgdir"/usr/lib/node_modules -name 'package.json' -exec sed -e 
"s|${srcdir}||" -i {} \;
+       modclean --path "$pkgdir"/usr/lib -r -a 
"*.ts,.bin,.github,.vscode,bin.js" --ignore='license'
+}

Reply via email to