summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-12-12 00:16:48 -0600
committerTim Harder <radhermit@gentoo.org>2018-12-12 02:24:43 -0600
commit734627c3fe3d020fcbb1f2be54e44a328b542891 (patch)
treeaaaa82d08fd1b395dd3fe2fa33b229baa43bc796 /app-admin
parentapp-vim/diffchar: remove old (diff)
downloadgentoo-734627c3fe3d020fcbb1f2be54e44a328b542891.tar.gz
gentoo-734627c3fe3d020fcbb1f2be54e44a328b542891.tar.bz2
gentoo-734627c3fe3d020fcbb1f2be54e44a328b542891.zip
app-admin/gopass: initial import
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gopass/Manifest1
-rw-r--r--app-admin/gopass/gopass-1.8.3.ebuild43
-rw-r--r--app-admin/gopass/metadata.xml11
3 files changed, 55 insertions, 0 deletions
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
new file mode 100644
index 000000000000..f87ee99549b5
--- /dev/null
+++ b/app-admin/gopass/Manifest
@@ -0,0 +1 @@
+DIST gopass-1.8.3.tar.gz 6374004 BLAKE2B 1f3b66e8a631d94fbbb33347009a4614f180d7bd30f3d73e98f476fc81a3f5f0aef15c80705b1b4e871f333a3366cc051eb41785082bb90420a5d34f38e35e16 SHA512 bcf8e4cdb37355ae43d0d6d21e3248d3547fb3f1892bb2e8d5d8ddc47a784f75f4f404429733ac824bd66d719fe63fef7a1d58facde65a6d1820ecf14e7bd77e
diff --git a/app-admin/gopass/gopass-1.8.3.ebuild b/app-admin/gopass/gopass-1.8.3.ebuild
new file mode 100644
index 000000000000..1345581a840c
--- /dev/null
+++ b/app-admin/gopass/gopass-1.8.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/gopasspw/gopass"
+
+inherit golang-vcs-snapshot golang-build bash-completion-r1
+
+DESCRIPTION="a simple but powerful password manager for the terminal"
+HOMEPAGE="https://www.gopass.pw/"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.11"
+RDEPEND="
+ dev-vcs/git
+ >=app-crypt/gnupg-2
+"
+
+src_install() {
+ dobin gopass
+
+ local DOCS=( src/${EGO_PN}/{CHANGELOG,CONTRIBUTING}.md src/${EGO_PN}/docs/*.md )
+ einstalldocs
+
+ # install fish completion
+ ./gopass completion fish > "${T}"/${PN}.fish || die
+ insinto /usr/share/fish/vendor_completions.d
+ doins "${T}"/${PN}.fish
+
+ # install bash completion
+ ./gopass completion bash > "${T}"/${PN} || die
+ dobashcomp "${T}"/${PN}
+
+ # install zsh completion
+ ./gopass completion zsh > "${T}"/${PN}.zsh || die
+ insinto /usr/share/zsh/site-functions
+ newins "${T}"/${PN}.zsh _${PN}
+}
diff --git a/app-admin/gopass/metadata.xml b/app-admin/gopass/metadata.xml
new file mode 100644
index 000000000000..06eb97b4a0f0
--- /dev/null
+++ b/app-admin/gopass/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">gopasspw/gopass</remote-id>
+ </upstream>
+</pkgmetadata>