commit: 6e24f866b3ca5fbcc79d7c63fbf65c8f2c44ff37 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> AuthorDate: Thu Sep 1 19:40:21 2016 +0000 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> CommitDate: Thu Sep 1 19:44:02 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e24f866
app-admin/lastpass-cli: version bump to 1.0.0 Package-Manager: portage-2.2.28 app-admin/lastpass-cli/Manifest | 1 + app-admin/lastpass-cli/lastpass-cli-1.0.0.ebuild | 44 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index a3fae23..46851b3 100644 --- a/app-admin/lastpass-cli/Manifest +++ b/app-admin/lastpass-cli/Manifest @@ -1,2 +1,3 @@ DIST lastpass-cli-0.8.1.tar.gz 79981 SHA256 ba845a827501f3c49514e977c8de25e5950d3ea482d7a3c31090148310a83056 SHA512 bc58500165e26dc87b592a7d975fa5b6e6698ca7b68fdd8205d21cfd13f72860cbbf5cd36b162fe928c12eb6c8ab86b42e369b8abc719bd36df5a8d8ea5f1689 WHIRLPOOL 3a332725106a43dc5738ad4b066a5b4c2fd3764e3543257931ba267068d202cb4bafbbdb4b72a336032e66161fba98f3d0c1d9b0f8a194a413fed0bc28a6f692 DIST lastpass-cli-0.9.0.tar.gz 84433 SHA256 e7314f0dfeec86add7c19c053ee34bb7a176e462e71727d2b345481d2d136800 SHA512 1e377cfeb9b62c5a69b461312582b6893f88fa12079ad8e52a1e7a3be806225009f0f84eff7d806191ff7f3482e34cd16e10d0b623fa0b0357703d585a015878 WHIRLPOOL 12e6c8ce6ab03ae9586a949f1a9316bf18d80c2ed54b7b883f3888e76932999bb74b8d36bac0361a11da126df20b5b5c39f2dc62cbd76b7d3deacfb57a789406 +DIST lastpass-cli-1.0.0.tar.gz 92311 SHA256 42096c0bd3972b0e9cc9cef32fbf141e47b04b9e2387fb3abe8b105e135fb41e SHA512 4709b3e4d6064c8c5cb593344e6417355d7df570240dce8eb77a19f3377ea38585280a9602cf8ab926c55c6afd84b297f261b0c8a40d355734d5cc542d46f610 WHIRLPOOL 394bfb597f5262dd1e47c7a3c48ef093b398f90c6dcacac6b172bb008891c76faf448ecf6be0ebfa277d18d335b166b7efadc063acc57ce88274004d1734bf21 diff --git a/app-admin/lastpass-cli/lastpass-cli-1.0.0.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.0.0.ebuild new file mode 100644 index 00000000..d986537 --- /dev/null +++ b/app-admin/lastpass-cli/lastpass-cli-1.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit bash-completion-r1 toolchain-funcs + +DESCRIPTION="Interfaces with LastPass.com from the command line." +HOMEPAGE="https://github.com/lastpass/lastpass-cli" +SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="libressl X +pinentry" + +RDEPEND=" + X? ( || ( x11-misc/xclip x11-misc/xsel ) ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + net-misc/curl + dev-libs/libxml2 + pinentry? ( app-crypt/pinentry ) +" +DEPEND="${RDEPEND} + app-text/asciidoc + virtual/pkgconfig +" + +src_prepare() { + # Do not include headers from /usr/local/include + sed -i -e 's:-I/usr/local/include::' Makefile || die + default + tc-export CC +} + +src_compile() { + emake PREFIX="${EPREFIX}/usr" COMPDIR="$(get_bashcompdir)" all doc-man +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install install-doc +}