commit: 51f1f546afc00bf202f6a44da309dd035dc9b998 Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks> AuthorDate: Mon Apr 8 13:32:12 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Tue Apr 9 06:57:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51f1f546
app-admin/bitwarden-cli-bin: update to 2024.3.1 Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks> app-admin/bitwarden-cli-bin/Manifest | 1 + .../bitwarden-cli-bin-2024.3.1.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest index 9d172f4c92..51e87d9e3b 100644 --- a/app-admin/bitwarden-cli-bin/Manifest +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -1,2 +1,3 @@ DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5 DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d +DIST bw-linux-2024.3.1.zip 33190371 BLAKE2B e0440980ef22083b53cf3032b9fb600fc9fefe06afd64431475871d2f64af1fb5620096aada09ff3a7b7fd89992abefa410e8bbf289230aae2515e118d36ad77 SHA512 4406a118b4815eab950f8bfdba5623f8097acf0d4018726985e4614a3deb6a52d3a0323deac35ba270c7974649da9f4a70ccdf049ce88ee0528c6980935366a0 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.3.1.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.3.1.ebuild new file mode 100644 index 0000000000..d30d477c53 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.3.1.ebuild @@ -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 +}