From de03619480d43cc31421f607f4634fc94f84b914 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 3 Feb 2017 13:50:14 +0100 Subject: added gopass-1.0.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- app-admin/gopass/gopass-1.0.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app-admin/gopass/gopass-1.0.0.ebuild (limited to 'app-admin/gopass/gopass-1.0.0.ebuild') diff --git a/app-admin/gopass/gopass-1.0.0.ebuild b/app-admin/gopass/gopass-1.0.0.ebuild new file mode 100644 index 0000000..476a1d6 --- /dev/null +++ b/app-admin/gopass/gopass-1.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit golang-base + +EGO_PN=github.com/justwatchcom/gopass +EGIT_COMMIT="v${PV}" +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="The team password manager. Written in Go." +HOMEPAGE="https://www.justwatch.com/gopass" +LICENSE="MIT" +RESTRICT="test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" +DEPEND="" +RDEPEND=" + app-crypt/gnupg + X? ( x11-misc/xclip ) + dev-vcs/git +" +DEPEND=">=dev-lang/go-1.6:=" +S="${WORKDIR}/src/${EGO_PN}" + +src_unpack() { + mkdir -p "${S}" && cd "${S}" || die + unpack ${A} && mv ${P}/* . || die +} + +src_compile() { + GOPATH="${WORKDIR}" LDFLAGS="" emake build || die +} -- cgit v1.2.3-65-gdbad