op-cli-bin: add back w/ working version
This commit is contained in:
parent
82c89af80d
commit
1d60cc0501
3 changed files with 49 additions and 0 deletions
11
acct-group/onepassword-cli/onepassword-cli-0.ebuild
Normal file
11
acct-group/onepassword-cli/onepassword-cli-0.ebuild
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="Group for the 1Password password manager"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
# Needs to be higher than 1000, from previous issues.
|
||||||
|
ACCT_GROUP_ID=1011
|
4
app-admin/op-cli-bin/Manifest
Normal file
4
app-admin/op-cli-bin/Manifest
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
DIST op_linux_386_v2.24.0.zip 7984105 BLAKE2B f94be2bf855f3cd70dd8f3a941546bc0b7e474befbdeb9c45f3ead9d9442bf8fc1ec676a6b22771832e10683c2f2a0e94fff9904e54a32cd7b352fb9cc9d801a SHA512 132df5334e317233dafb8a108b15fbc4a2d200af1479f4b5e5390b091fb17e2c20bf017bc9fe6617b4f623c2626cbf5e983c5276403fe439650216be38a80086
|
||||||
|
DIST op_linux_amd64_v2.24.0.zip 8517044 BLAKE2B 42c7b3523fd6237cd1e4c4574880a7bed5f5105fb6974fc9c9bd86e83ead7468ce955272306d00417d31cf376b87fe539935f4d7831360cbbd891b91e7f3811c SHA512 08b8792c1978b8457313cbe309071a71bf0305e85c3a7fac6709f9ad7d9806fa55c19cdd9032c70ccff361a4b55d878633a1235f0f68189af173ecfcf6fcbcfa
|
||||||
|
DIST op_linux_arm64_v2.24.0.zip 7818896 BLAKE2B af2df44ce9ac16161abfbd1c43366f3d5c2d743d025d458edfdaf537354bf17b6837b80d18eb0541d521df9ee58e39653ee5a5d18405b56e75051211ad1e572c SHA512 1deb6e8cb0521448f5239124636bf6e172f5aa683311ac4e8de6498f4bc7ee1ae82a3a7c2e7700b69f67f505db14299d1e8270881ec4a75a510574715533aa04
|
||||||
|
DIST op_linux_arm_v2.24.0.zip 7944316 BLAKE2B 0f41b9cbdd36e1a3291dda664f02a9963b525c1383344bb6061961e239b9a235034db4db72e9f350e96dd1bb3896733e1d25ad49fb9153a0fa132b3dac56e226 SHA512 7dfb1de61d896e3456db30469031577988204c9d30349841d4cb88b6549a113cd431777c7a5d938f9f927fee3584584e455dabda5035f4b9c341b7d4595b28fb
|
34
app-admin/op-cli-bin/op-cli-bin-2.24.0.ebuild
Normal file
34
app-admin/op-cli-bin/op-cli-bin-2.24.0.ebuild
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Copyright 2020-2023 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue