app-admin/op-cli-bin: new package, add 2.31.0

Signed-off-by: Skyler Mäntysaari <sm+git@skym.fi>
This commit is contained in:
Skyler Mäntysaari
2025-05-17 19:30:06 +03:00
parent 10c6b9b48a
commit 70970671d9
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST op_linux_amd64_v2.31.0.zip 9120863 BLAKE2B 7adc4943d0cfb52e8229a12148375c92b75ea3b664dbbdcf2c6b7b6055e1d801e2676ed63b15dbf2b26d57710cc1ade68302578b1d228486beda33636b69d6ce SHA512 499c22c6d9cafe7ddcbbace5bbdcff465c93043fbe3490ee6d5e3aa25665376d1ee74ba095d35fe87f4d587781a10d46ec3f1f2373777c7dee36d935ddc003d2
DIST op_linux_arm64_v2.31.0.zip 8386726 BLAKE2B e254b4d0094b432767c876962378116d00ea8bbd89b1e04e9de42a8ecae0bac7abbff0120a187302d2876264c7831e39f55d0f88ed1464ed3acfaeda347f0df1 SHA512 7997015f1958413b568d2c1131539c5827a69d605aaf9f255d644b95a1e50f72bb49aa21f9a81f89c29d6fe4ada27ca37e1e4d7005ec1abc21bdeed7104df2a2

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sm+gentoo@skym.fi</email>
<name>Skyler Mäntysaari</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# 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 )
arm64? ( ${SITE}/op_linux_arm64_v${PV}.zip )
"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
BDEPEND="app-arch/unzip"
RDEPEND="acct-group/1password-cli"
QA_PREBUILT="usr/bin/op"
RESTRICT="bindist mirror"
S="${WORKDIR}"
src_install() {
dobin op
}
pkg_postinst() {
chgrp 1password-cli /usr/bin/op
chmod g+s /usr/bin/op
}