summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy <andy@ndyk.de>2017-02-03 13:50:14 +0100
committerandy <andy@ndyk.de>2017-02-03 13:50:14 +0100
commitde03619480d43cc31421f607f4634fc94f84b914 (patch)
treef3af8616031a1e2f202b76baa56e5a610625ada4 /app-admin/gopass/gopass-1.0.0.ebuild
parentremove deprecated and wrongly named libwebsockets version (diff)
downloadandy-de03619480d43cc31421f607f4634fc94f84b914.tar.gz
andy-de03619480d43cc31421f607f4634fc94f84b914.tar.bz2
andy-de03619480d43cc31421f607f4634fc94f84b914.zip
added gopass-1.0.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
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
+}