mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-admin/bitwarden-cli-bin: update to 2025.3.0
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2025 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-oss-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
|
||||
}
|
||||
Reference in New Issue
Block a user