diff --git a/app-misc/1password-cli/1password-cli-2.34.1.ebuild b/app-misc/1password-cli/1password-cli-2.34.1.ebuild new file mode 100644 index 0000000000..c805ed4333 --- /dev/null +++ b/app-misc/1password-cli/1password-cli-2.34.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="The world’s most-loved password manager CLI" +HOMEPAGE="https://1password.com" +SRC_URI=" +amd64? ( https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}/op_linux_amd64_v${PV}.zip -> ${P}-amd64.zip ) +arm64? ( https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}/op_linux_arm64_v${PV}.zip -> ${P}-arm64.zip ) +" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +RESTRICT="strip test bindist" + +DEPEND="acct-group/onepassword-cli" +BDEPEND="app-arch/unzip" + +QA_FLAGS_IGNORED="usr/bin/op" + +src_install() { + dobin op + + chgrp onepassword-cli "${D}/usr/bin/op" || die "Failed to set group of 1password CLI" + fperms g+s "/usr/bin/op" +} diff --git a/app-misc/1password-cli/Manifest b/app-misc/1password-cli/Manifest index 5508e141fb..c35fb2bd06 100644 --- a/app-misc/1password-cli/Manifest +++ b/app-misc/1password-cli/Manifest @@ -1,2 +1,4 @@ DIST 1password-cli-2.34.0-amd64.zip 14516956 BLAKE2B ead0afcd77672cfbb4c60996c542a7a1b41b85d0b7ce04434abdaeb369a8eeb85a2d09495f51bd49afbe9a988a8a68c86a3febbe2895d0227d0ddbf26014e3b6 SHA512 09846d5598f10d0ee027e7d4cf8097b1e78d29021c4a86d7ba2d1f652162d371fb79559c51b82c70e534b3be590e40b1f56df831ced9ceb554e1ec3a1edde332 DIST 1password-cli-2.34.0-arm64.zip 13461687 BLAKE2B 85b804dee2f0a3b0da1e3f0d1070e9bb9f7b354b554dbb91db0f9676732c77f60db2c612de61b65eac18e3ac9d745d2bae4e9a4cb3c96d459dd57e8ba2e3c498 SHA512 ba7f73ecadb136b09d58220935523499fe78642a04484d3fa8e65bb03f0db281e54e66feab57e625aad54f232e8c4d809f0a7180dfb7ee9d2ae0cc36b97df482 +DIST 1password-cli-2.34.1-amd64.zip 14518739 BLAKE2B 59054633324b34b14106e0806372394bd008e2f442dfac03f3543e91fc86a781f96f40655f2c2902c3cf79d418a149b69b3539b98c0cbbd254f90732d3490ba1 SHA512 6702115bb8522e06f9aaaa13252b16cac9515ccaf5e3404bf74ada18ed4aee91e92e247188ed30028319a36cf51fc03ee80fcda9f031b4fd9b7a72eb6a3881ee +DIST 1password-cli-2.34.1-arm64.zip 13461480 BLAKE2B 0ba4b31c9be051196bd34c563670e22b7ed1f8ca8a6737d147a27858204192dce4188eb7d1746d0eaa50ce681f64611df1873cec237829c9fe2436a7d6ee6d1a SHA512 cc7abe22908e0dceccc9722cdf9ba742d1d19c94625b4085200abcc28ddc3a4ddb9f9eba9818071c02b50aa8c14e68d4becaa2d5ddbcb1c20e57b46e9f58d42c