blob: 476a1d6eafba95a19a954bfbab65757b5f20224f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}
|