[arch-commits] Commit in bitwarden-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Wed Oct 27 17:19:20 UTC 2021
Date: Wednesday, October 27, 2021 @ 17:19:20
Author: alex19ep
Revision: 1034721
archrelease: copy trunk to community-x86_64
Added:
bitwarden-cli/repos/community-x86_64/PKGBUILD
(from rev 1034720, bitwarden-cli/trunk/PKGBUILD)
Deleted:
bitwarden-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-27 17:19:07 UTC (rev 1034720)
+++ PKGBUILD 2021-10-27 17:19:20 UTC (rev 1034721)
@@ -1,44 +0,0 @@
-# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.com>
-# Contributor: libertylocked <libertylocked at disroot.org>
-
-pkgname=bitwarden-cli
-pkgver=1.18.1
-_jslibcommit='5f64d956520612a681611a27c5f4f2e5f27b640e'
-pkgrel=1
-pkgdesc="The command line vault"
-arch=('x86_64')
-url="https://github.com/bitwarden/cli"
-license=('GPL3')
-depends=('gcc-libs')
-makedepends=('git' 'npm' 'node-gyp' 'nodejs-lts-fermium')
-options=('!strip')
-source=("bitwarden-cli-${pkgver}.tar.gz::https://github.com/bitwarden/cli/archive/v${pkgver}.tar.gz"
- "jslib-${_jslibcommit}.tar.gz::https://github.com/bitwarden/jslib/archive/${_jslibcommit}.tar.gz")
-sha512sums=('e9e2092ccd964d1f69ea6ba4a84aaa3c188db1f4c923dec8984a75ed6ebe039c36ae2395db065f636f010c8f8fd52ee898cadd7a9a40733c46f51767d74e1eec'
- '185a4e675cd2d97b1e42d414f6b68fce2710448cf5eb9d08bbbdc8ac73453460e296853fe5ec7a21405ac02905a22463634084ae25b22b01cb59754aaaea5039')
-
-prepare() {
- cd cli-${pkgver}
- rmdir -v jslib
- ln -sv ../jslib-${_jslibcommit} jslib
-}
-
-build() {
- cd cli-${pkgver}
- export npm_config_cache="$srcdir/npm_cache"
- pushd jslib
- npm install
- popd
- npm install
- npm run build:prod
- npm run clean
- npm run package:lin
- ./dist/linux/bw completion --shell zsh > _bw
-}
-
-package() {
- cd cli-${pkgver}
- install -vDm755 dist/linux/bw -t "${pkgdir}/usr/bin"
- # package zsh completions
- install -vDm644 "${srcdir}/cli-${pkgver}/_bw" -t "${pkgdir}/usr/share/zsh/site-functions"
-}
Copied: bitwarden-cli/repos/community-x86_64/PKGBUILD (from rev 1034720, bitwarden-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-27 17:19:20 UTC (rev 1034721)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.com>
+# Contributor: libertylocked <libertylocked at disroot.org>
+
+pkgname=bitwarden-cli
+pkgver=1.19.0
+_jslibcommit='c7a9a89e0a0d83fce6fa42c6c4be8792cda7bd30'
+pkgrel=1
+pkgdesc="The command line vault"
+arch=('x86_64')
+url="https://github.com/bitwarden/cli"
+license=('GPL3')
+depends=('gcc-libs')
+makedepends=('git' 'npm' 'node-gyp' 'nodejs-lts-fermium')
+options=('!strip')
+source=("bitwarden-cli-${pkgver}.tar.gz::https://github.com/bitwarden/cli/archive/v${pkgver}.tar.gz"
+ "jslib-${_jslibcommit}.tar.gz::https://github.com/bitwarden/jslib/archive/${_jslibcommit}.tar.gz")
+sha512sums=('a54c35b951c0784a93db517f72b9bdb5cf1c0c49ee2af27a6947b1d0407dd1a5752f4c0edf208491b7c0748780ee7dd6f710c011640ccd00beb1bbd96606752a'
+ '2c2a17fe6bf7bc26f1a92955d015e0080499810ca8949a68e806cb0732e0d337db0a93be61990cbde411b08bc254b9bc57cd34d7fd726c28f47c5c5321e75c3d')
+
+prepare() {
+ cd cli-${pkgver}
+ rmdir -v jslib
+ ln -sv ../jslib-${_jslibcommit} jslib
+}
+
+build() {
+ cd cli-${pkgver}
+ export npm_config_cache="$srcdir/npm_cache"
+ pushd jslib
+ npm install
+ popd
+ npm install
+ npm run build:prod
+ npm run clean
+ npm run package:lin
+ ./dist/linux/bw completion --shell zsh > _bw
+}
+
+package() {
+ cd cli-${pkgver}
+ install -vDm755 dist/linux/bw -t "${pkgdir}/usr/bin"
+ # package zsh completions
+ install -vDm644 "${srcdir}/cli-${pkgver}/_bw" -t "${pkgdir}/usr/share/zsh/site-functions"
+}
More information about the arch-commits
mailing list