mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
Closes: https://bugs.gentoo.org/918103 Closes: https://github.com/gentoo/gentoo/pull/33958 Signed-off-by: William Hubbs <williamh@gentoo.org>
29 lines
681 B
Bash
29 lines
681 B
Bash
# 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"
|
|
|
|
QA_PREBUILT="usr/bin/op"
|
|
RESTRICT="bindist mirror"
|
|
S="${WORKDIR}"
|
|
|
|
src_install() {
|
|
dobin op
|
|
}
|