app-admin/bitwarden-cli-bin: update to 2024.6.0

Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
Rahil Bhimjiani 2024-06-17 14:29:35 +05:30
parent 6970d0037e
commit 39121376ea
No known key found for this signature in database
GPG Key ID: 6D39AB4713797E6F
2 changed files with 36 additions and 0 deletions

View File

@ -1,3 +1,4 @@
DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d
DIST bw-linux-2024.3.1.zip 33190371 BLAKE2B e0440980ef22083b53cf3032b9fb600fc9fefe06afd64431475871d2f64af1fb5620096aada09ff3a7b7fd89992abefa410e8bbf289230aae2515e118d36ad77 SHA512 4406a118b4815eab950f8bfdba5623f8097acf0d4018726985e4614a3deb6a52d3a0323deac35ba270c7974649da9f4a70ccdf049ce88ee0528c6980935366a0
DIST bw-linux-2024.4.0.zip 33268198 BLAKE2B 672e2bc0b123320fa1118d1043c4314905203cd890c49d4c5c5ab524a9b12d3f966863dce9b4a1c5921816564fb94e908b099a94f44d033db7da3ac805de529b SHA512 07c5b153025e3303ee6f563b9e7a88908d5f7f8877594b42f94fceb3daddb77c718cf01d1546a80618c288a38a8872dbbda8faf1bc2d58af7cf74b0347e95e51
DIST bw-linux-2024.6.0.zip 35438206 BLAKE2B 59a464240a0940a28d5bb57d087efc68f1b714ca7c7711a4a42bb40ccd3b682255537d053f8d573c57ef50a5b547d5c05946e3e262e0b01c6a25fbc98543fe17 SHA512 6ffb7ab7bd405f49cd620c4110136d656362f1b57d6051da4066f60c3e3d562baa0aebc2d0d9e47967da4cbbba2e06cbfab2d3aefc48fd3620551caf8e4c05a7

View File

@ -0,0 +1,35 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion
DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers"
HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
SRC_URI="
https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# non-stripped binary is of 99M but works
# stripped bianry is of 44M but doesnt work
RESTRICT='strip'
RDEPEND="!app-admin/bitwarden-cli"
BDEPEND="app-arch/unzip"
QA_PREBUILT="usr/bin/bw"
src_compile() {
./bw completion --shell zsh > bw.zsh 2> /dev/null || die
}
src_install() {
dobin bw
newzshcomp bw.zsh _bw
}