summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-10-01 15:22:36 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-10-01 15:23:59 -0500
commitac439edc59f851483ecb9f732f9e5c65aa057224 (patch)
treeb8c19230e352b4ecefabcd528e42da74c16d798d /app-admin
parentlicenses: add 1password for op-cli-bin (diff)
downloadgentoo-ac439edc59f851483ecb9f732f9e5c65aa057224.tar.gz
gentoo-ac439edc59f851483ecb9f732f9e5c65aa057224.tar.bz2
gentoo-ac439edc59f851483ecb9f732f9e5c65aa057224.zip
app-admin/op-cli-bin: new package, command line interface for 1password
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/op-cli-bin/Manifest1
-rw-r--r--app-admin/op-cli-bin/metadata.xml8
-rw-r--r--app-admin/op-cli-bin/op-cli-bin-1.7.0.ebuild23
3 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/op-cli-bin/Manifest b/app-admin/op-cli-bin/Manifest
new file mode 100644
index 000000000000..7d7f96f02d9f
--- /dev/null
+++ b/app-admin/op-cli-bin/Manifest
@@ -0,0 +1 @@
+DIST op_linux_amd64_v1.7.0.zip 3989846 BLAKE2B 074bcc248438c1cfa0436726fb3b101e5d60c477c406434d00bb7689d6004796373d8562e22fa870239c9d2234cfae21d7a8aa2b90e7807cb15df8870b2afd64 SHA512 7ab0792ba737a8f95ec874dc111fdb6cd45d552c5b5cfb9d35423a76f444c15718269e77faae978d773bfcaa7e7607f4b8b7e93616c8f7fc91caafb35c856a5e
diff --git a/app-admin/op-cli-bin/metadata.xml b/app-admin/op-cli-bin/metadata.xml
new file mode 100644
index 000000000000..c36c37139fad
--- /dev/null
+++ b/app-admin/op-cli-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-admin/op-cli-bin/op-cli-bin-1.7.0.ebuild b/app-admin/op-cli-bin/op-cli-bin-1.7.0.ebuild
new file mode 100644
index 000000000000..bdc1fe057611
--- /dev/null
+++ b/app-admin/op-cli-bin/op-cli-bin-1.7.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="command line interface for the 1password password manager"
+HOMEPAGE="https://1password.com/downloads/command-line"
+SITE="https://cache.agilebits.com/dist/1P/op/pkg/v${PV}/"
+SRC_URI="${SITE}/op_linux_amd64_v${PV}.zip"
+
+LICENSE="1PASSWORD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="app-arch/unzip"
+
+QA_PREBUILT="usr/bin/op"
+RESTRICT="mirror"
+S="${WORKDIR}"
+
+src_install() {
+ dobin op
+}