summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/gopass/gopass-1.0.0.ebuild')
-rw-r--r--app-admin/gopass/gopass-1.0.0.ebuild36
1 files changed, 36 insertions, 0 deletions
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
+}