[arch-commits] Commit in bitwarden-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Wed Sep 22 19:27:30 UTC 2021
Date: Wednesday, September 22, 2021 @ 19:27:30
Author: alex19ep
Revision: 1021664
archrelease: copy trunk to community-x86_64
Added:
bitwarden-cli/repos/community-x86_64/PKGBUILD
(from rev 1021663, 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-09-22 19:27:18 UTC (rev 1021663)
+++ PKGBUILD 2021-09-22 19:27:30 UTC (rev 1021664)
@@ -1,44 +0,0 @@
-# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.com>
-# Contributor: libertylocked <libertylocked at disroot.org>
-
-pkgname=bitwarden-cli
-pkgver=1.18.0
-_jslibcommit='0a2ff12bedd55f5982fb8fe9102c4f20522f72e1'
-pkgrel=3
-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=('333c3c4d6b5311b256e34988a201f317fea6aa2d8c7186d80f7d0a1c68e3b40a957bcad66f97e2ca795420ced030390794d14ea173f9c9372d8886bc45a8dd95'
- '686489c2a5d3847dc6e8c25bd7fb878fc82243cd20b83489ba89f129358c4715b5007d6526cd392383a9ddb84c57910b19fc6a3773fe56694e194c990c05dbd1')
-
-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 1021663, bitwarden-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-22 19:27:30 UTC (rev 1021664)
@@ -0,0 +1,44 @@
+# 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"
+}
More information about the arch-commits
mailing list