summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2014-10-22 20:08:04 +0000
committerJason A. Donenfeld <zx2c4@gentoo.org>2014-10-22 20:08:04 +0000
commitda14cfcdeda90feec435cfa6632f857e29b7b648 (patch)
tree43a6a971d187021aa89c078e4c84824f07de2563 /app-admin/lastpass-cli
parentarm stable, bug #524986 (diff)
downloadgentoo-2-da14cfcdeda90feec435cfa6632f857e29b7b648.tar.gz
gentoo-2-da14cfcdeda90feec435cfa6632f857e29b7b648.tar.bz2
gentoo-2-da14cfcdeda90feec435cfa6632f857e29b7b648.zip
Initial import
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'app-admin/lastpass-cli')
-rw-r--r--app-admin/lastpass-cli/ChangeLog9
-rw-r--r--app-admin/lastpass-cli/lastpass-cli-0.3.0.ebuild37
-rw-r--r--app-admin/lastpass-cli/metadata.xml16
3 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/lastpass-cli/ChangeLog b/app-admin/lastpass-cli/ChangeLog
new file mode 100644
index 000000000000..59433c3be608
--- /dev/null
+++ b/app-admin/lastpass-cli/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-admin/lastpass-cli
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass-cli/ChangeLog,v 1.1 2014/10/22 20:08:04 zx2c4 Exp $
+
+*lastpass-cli-0.3.0 (22 Oct 2014)
+
+ 22 Oct 2014; Jason A. Donenfeld <zx2c4@gentoo.org> +lastpass-cli-0.3.0.ebuild,
+ +metadata.xml:
+ Initial import
diff --git a/app-admin/lastpass-cli/lastpass-cli-0.3.0.ebuild b/app-admin/lastpass-cli/lastpass-cli-0.3.0.ebuild
new file mode 100644
index 000000000000..c717c3eade1a
--- /dev/null
+++ b/app-admin/lastpass-cli/lastpass-cli-0.3.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass-cli/lastpass-cli-0.3.0.ebuild,v 1.1 2014/10/22 20:08:04 zx2c4 Exp $
+
+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
+ 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 000000000000..7c4c5b486cc1
--- /dev/null
+++ b/app-admin/lastpass-cli/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</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>
+</pkgmetadata>