add op-cli-bin

This commit is contained in:
Moritz Gmeiner 2026-05-19 21:32:09 +02:00
commit dee12bb910
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,4 @@
DIST op_linux_386_v2.34.0.zip 13466871 BLAKE2B b9646d6fb08c27cca46fa6f8ab73813c0ded93bf165a85279ef7bd4cdaebb09d86e1739bb93474c6538456913dc247686ea1473e17a3a5e20b414b2ed697f804 SHA512 fc021f70fa584a8296c9b963a429d6e5fffa14d74275cbafdbd031493ac98b8083d587b17deb9cbe37e5f08443d0a6546aac68161374080d3c8dd4d37cd6c2ad
DIST op_linux_amd64_v2.34.0.zip 14516956 BLAKE2B ead0afcd77672cfbb4c60996c542a7a1b41b85d0b7ce04434abdaeb369a8eeb85a2d09495f51bd49afbe9a988a8a68c86a3febbe2895d0227d0ddbf26014e3b6 SHA512 09846d5598f10d0ee027e7d4cf8097b1e78d29021c4a86d7ba2d1f652162d371fb79559c51b82c70e534b3be590e40b1f56df831ced9ceb554e1ec3a1edde332
DIST op_linux_arm64_v2.34.0.zip 13461687 BLAKE2B 85b804dee2f0a3b0da1e3f0d1070e9bb9f7b354b554dbb91db0f9676732c77f60db2c612de61b65eac18e3ac9d745d2bae4e9a4cb3c96d459dd57e8ba2e3c498 SHA512 ba7f73ecadb136b09d58220935523499fe78642a04484d3fa8e65bb03f0db281e54e66feab57e625aad54f232e8c4d809f0a7180dfb7ee9d2ae0cc36b97df482
DIST op_linux_arm_v2.34.0.zip 13398103 BLAKE2B de233f1969b0bf46ade46c42869ffba2eec32b854dc56d2e1686a9a03efbc30b80309c2005bd8a1a16b65405273b2de67e7ac1d5e65a4029406b85b2b5c8dcfb SHA512 d67c159615803e4bc48692faf3d237137a906ed3647161bbae2aa7dfe861183ea33ba610be3ad549a0dc567d9486b1e42fa39323a10573724c70f1812498384f

View file

@ -0,0 +1,34 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="command line interface for the 1password password manager"
HOMEPAGE="https://1password.com/downloads/command-line/"
SITE="https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}"
SRC_URI="
amd64? ( ${SITE}/op_linux_amd64_v${PV}.zip )
arm? ( ${SITE}/op_linux_arm_v${PV}.zip )
arm64? ( ${SITE}/op_linux_arm64_v${PV}.zip )
x86? ( ${SITE}/op_linux_386_v${PV}.zip )
"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="app-arch/unzip"
RDEPEND="acct-group/onepassword-cli"
QA_PREBUILT="usr/bin/op"
RESTRICT="bindist mirror"
S="${WORKDIR}"
src_install() {
dobin op
}
pkg_postinst() {
chgrp onepassword-cli /usr/bin/op
chmod g+s /usr/bin/op
}