mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-admin/bitwarden-cli-bin: add 2024.2.1
1. Don't want to see any errors and die if you fail Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5
|
||||
DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user