app-admin/proton-pass-cli-bin: new package, add 2.8.1

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-12-05 06:25:52 +11:00
1 parent 00174974a7
commit e057f9b319
4 files changed
+82

No files matched your search

+7
View File
@@ -108,6 +108,13 @@ filter = ".Releases[0].Version"
github_account = "zakkaus"
autobump = true
["app-admin/proton-pass-cli-bin"]
source = "jq"
url = "https://proton.me/download/pass-cli/versions.json"
filter = ".passCliVersions.version"
github_account = "zakkaus"
autobump = true
["app-admin/qm"]
source = "npm"
npm = "@yc-software/qm"
+2
View File
@@ -0,0 +1,2 @@
DIST proton-pass-cli-bin-2.8.1-amd64 57073824 BLAKE2B 6eea53fbd39fae7cc3606608a291a5805473bc80d234f5f9a7bb95fe3a7c561660997ea8c232a2555778edf1b22b8a35386c8870e9df4a4e6ec0cc9e85889328 SHA512 3e33f033ab9874be16f127896b06d8950edc0b0dd27263c2d0cf465cb6b20b8d66f6b77d86cfe0a03bd62bea3ae0bd91dcc110d8812fb14d9f9f8c97be4963fb
DIST proton-pass-cli-bin-2.8.1-arm64 39000248 BLAKE2B 008fc97196f6a22f7f5b7470bad20c35bda850440bddc4a32f8825297c9906e5568553462129a4ede2ee6aadc3459268e982cb292d0d122b77aed7f32447cfb6 SHA512 0733986f42224f4fd7dbfa284d6daebbfe889d2c32a99aa33d2c0e3297ded5554d958d2612d87ec566877766ab743fe39c430e9104a54fe7b471842124a2d7df
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zakk@gentoozh.org</email>
<name>Zakk</name>
</maintainer>
<upstream>
<remote-id type="github">protonpass/pass-cli</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,62 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion toolchain-funcs
DESCRIPTION="Command-line client for Proton Pass"
HOMEPAGE="
https://proton.me/pass
https://github.com/protonpass/pass-cli
"
SRC_URI="
amd64? (
https://proton.me/download/pass-cli/${PV}/pass-cli-linux-x86_64
-> ${P}-amd64
)
arm64? (
https://proton.me/download/pass-cli/${PV}/pass-cli-linux-aarch64
-> ${P}-arm64
)
"
S="${WORKDIR}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RDEPEND="
amd64? ( >=sys-libs/glibc-2.34 )
arm64? ( >=sys-libs/glibc-2.30 )
"
QA_PREBUILT="usr/bin/pass-cli"
src_unpack() {
cp "${DISTDIR}/${A}" pass-cli || die
chmod +x pass-cli || die
}
src_compile() {
if ! tc-is-cross-compiler; then
local shell
for shell in bash fish zsh; do
./pass-cli completions ${shell} > "${T}/pass-cli.${shell}" || die
done
else
ewarn "shell completion files were skipped due to cross-compilation"
fi
}
src_install() {
dobin pass-cli
newenvd - 50proton-pass-cli <<<"PROTON_PASS_NO_UPDATE_CHECK=1"
if ! tc-is-cross-compiler; then
newbashcomp "${T}"/pass-cli.bash pass-cli
newfishcomp "${T}"/pass-cli.fish pass-cli.fish
newzshcomp "${T}"/pass-cli.zsh _pass-cli
fi
}