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

Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Rahil Bhimjiani 2025-07-07 13:33:53 +05:30 committed by Fabian Groffen
parent e496ba2bba
commit 4fac4c20b4
No known key found for this signature in database
GPG Key ID: CE95DA854E444293
2 changed files with 33 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST bw-oss-linux-2025.5.0.zip 36408335 BLAKE2B eb285349eeb3b00b838d904079c15055b00d3b8449f03dfceb88986ff16a34ee1bb1f659f4f4e145a1fce6186ff737485fc626f4382330dc6cdb0029a0c2cd28 SHA512 46044f5796ec9b27915a238ad2a5825d96689c21cae6d3401c49b74dbffe9e326bb118aa78934dd17f9dcbda279dee7f78415f29c0d33130a1b00d9d2c354c22
DIST bw-oss-linux-2025.6.1.zip 36880912 BLAKE2B 329c3378f2e406406a973c9b7301172a2ecd170290b9dd0b10e6408bc3883d1df03f196fefa4c7019137a048bc9c5002a6fb2e4564aa4d717355639b8bc256ad SHA512 dd05b028f15e43cb7e0a75bab90af99684886b86f43e31f30769a897e82044139ddeee5475b44e70c62ef2dfbffe2de9a4cb7e308ddf05b9c402cd24bfb22dcb

View File

@ -0,0 +1,32 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion
DESCRIPTION="CLI client for Bitwarden compatible servers"
HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
SRC_URI="https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-oss-linux-${PV}.zip"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# stripping breaks the binary. Errors:
# Pkg: Error reading from file.
RESTRICT='strip'
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
}