summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/lastpass-cli')
-rw-r--r--app-admin/lastpass-cli/Manifest3
-rw-r--r--app-admin/lastpass-cli/lastpass-cli-0.5.1.ebuild37
-rw-r--r--app-admin/lastpass-cli/metadata.xml19
3 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest
new file mode 100644
index 0000000..020f98e
--- /dev/null
+++ b/app-admin/lastpass-cli/Manifest
@@ -0,0 +1,3 @@
+DIST lastpass-cli-0.5.1.tar.gz 59434 SHA256 46b8b1e85085f816bd10b12bd3d74cef59ad8b1b4dc7ac9ec67366d8c22f99a6 SHA512 0b0e57e79f0492e3e9dee5cb620b628ce3c425ec51f609ce6b6c738d48187d91983b719131a31d6b5e5c103c5f14be7133ba6e1c826087cb71f1b14f3d7bfade WHIRLPOOL b5946b9c80ffdae5237e97c5f4c42fe8e4e2c1129f90cac21d215682e4769790f018bc478d76e73317202f10273ff3f5778072e1768d1a97d3e603b694e71227
+EBUILD lastpass-cli-0.5.1.ebuild 888 SHA256 bd994ca58f9b733ec5eecb8cc4d0a234a2f3ca308859202b9f2b882d783db1d9 SHA512 d3129ff7d6f5b2cf38be006650474e89cce469a23a44578781cb3fba6d1180296a461a4f9655fcd5b25f7178a7538808c47b9f2e1bcf67783e1f7b4e46e23cda WHIRLPOOL 27db2a5edf52a7af9367b4298df32a65143884445cd99df0a3854dc587b0151b908e576557bf0db351f1a51b74def75e499d08761c1d721941ec72273e5af614
+MISC metadata.xml 573 SHA256 c15a08acdf93999c3a4b07083c35cee3d2a097581703e87d9acdf0a3464ea8fc SHA512 f19e25ea7470d1fb6a8e6907ee4a2f73f4748573ba32f595637cdf7b84b0a3bded100506cc93335ccb13a8f79961401af17789b8dd28a7176c6089ae847c136a WHIRLPOOL c928cbb8c210b5bf5894c25975544bb6d39a9b137d8712693a46029700b0324644905ee9495159e25166f1a86ea2b4a3b82e34674199396304b9069817503675
diff --git a/app-admin/lastpass-cli/lastpass-cli-0.5.1.ebuild b/app-admin/lastpass-cli/lastpass-cli-0.5.1.ebuild
new file mode 100644
index 0000000..e112950
--- /dev/null
+++ b/app-admin/lastpass-cli/lastpass-cli-0.5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Interfaces with LastPass.com from the command line."
+SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/lastpass/lastpass-cli"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="X +pinentry"
+
+RDEPEND="
+ X? ( || ( x11-misc/xclip x11-misc/xsel ) )
+ dev-libs/openssl:0
+ net-misc/curl
+ dev-libs/libxml2
+ pinentry? ( app-crypt/pinentry )
+"
+DEPEND="${RDEPEND} app-text/asciidoc"
+
+src_prepare() {
+ sed -i 's/install -s/install/' Makefile || die "Could not remove stripping"
+}
+
+src_compile() {
+ emake PREFIX="${EPREFIX}/usr"
+ emake PREFIX="${EPREFIX}/usr" doc-man
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-doc
+}
diff --git a/app-admin/lastpass-cli/metadata.xml b/app-admin/lastpass-cli/metadata.xml
new file mode 100644
index 0000000..5530621
--- /dev/null
+++ b/app-admin/lastpass-cli/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>jdhore@gentoo.org</email>
+ <name>Jeff Horelick</name>
+ </maintainer>
+ <use>
+ <flag name="X">
+ Use <pkg>x11-misc/xclip</pkg> or <pkg>x11-misc/xsel</pkg> to copy passwords to the clipboard.
+ </flag>
+ <flag name="pinentry">
+ Use <pkg>app-crypt/pinentry</pkg> to prompt for passwords.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">lastpass/lastpass-cli</remote-id>
+ </upstream>
+</pkgmetadata>