Date: Saturday, February 12, 2022 @ 14:33:22 Author: alex19ep Revision: 1132796
archrelease: copy trunk to community-x86_64 Added: bitwarden-cli/repos/community-x86_64/PKGBUILD (from rev 1132795, bitwarden-cli/trunk/PKGBUILD) Deleted: bitwarden-cli/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-12 14:33:18 UTC (rev 1132795) +++ PKGBUILD 2022-02-12 14:33:22 UTC (rev 1132796) @@ -1,44 +0,0 @@ -# Maintainer: Alexander Epaneshnikov <alex1...@archlinux.com> -# Contributor: libertylocked <libertyloc...@disroot.org> - -pkgname=bitwarden-cli -pkgver=1.20.0 -_jslibcommit='e1c6e4973a2532b14e3187a79688e8b0a89e9d5c' -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=('5fbecc0022cd97a776b9c4e8b0ad1534c142e0506a7debd12a311da8afbd994c74da5132447f33d6dd06239fca258097f0cc17c876a9edeedf29237607fa279f' - 'e09e53dcec3bd353e280d3b6273ea234b1b4fd5ccac213156c0d5b1e45685118e23324194c3db4d69c9793d6cd434f6cec4fa1fdbc6fdfc3a2ac0e79874a7fa5') - -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 1132795, bitwarden-cli/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-12 14:33:22 UTC (rev 1132796) @@ -0,0 +1,44 @@ +# Maintainer: Alexander Epaneshnikov <alex1...@archlinux.com> +# Contributor: libertylocked <libertyloc...@disroot.org> + +pkgname=bitwarden-cli +pkgver=1.21.0 +_jslibcommit='995ad076cca1795ec78f87b81ed3cd2e727703d1' +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-gallium') +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=('6883b2ee9641066f22cb70003f164c93d12b4e02377b6287435e053b4cc4969de4f3b6524e6f5b1b19d9df231e6eb38ea21fa3e3b06be561e89ca6c80432684c' + 'ae138e86f05f6b151b66e4242f5a9c4bb1b124dd83ce3ffbf71584090bfcce21c7845b74598c84a1380575d514c5e5857e0ab2999e89abafec5e9c799299437d') + +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" +}