diff options
author | 2017-02-08 16:27:21 +0100 | |
---|---|---|
committer | 2017-02-08 16:27:21 +0100 | |
commit | e4ecf1901b7fc0c864dd68ccbce6a07cfe5f82fd (patch) | |
tree | 8778176f39b13252e92906d261a6476f158da4c9 | |
parent | gopass: added bash/zsh completion, git snapshot and test useflags (diff) | |
download | andy-e4ecf1901b7fc0c864dd68ccbce6a07cfe5f82fd.tar.gz andy-e4ecf1901b7fc0c864dd68ccbce6a07cfe5f82fd.tar.bz2 andy-e4ecf1901b7fc0c864dd68ccbce6a07cfe5f82fd.zip |
gopass: 1.0.0-r1 added symlink to pass
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | app-admin/gopass/Manifest | 3 | ||||
-rw-r--r-- | app-admin/gopass/gopass-1.0.0-r1.ebuild | 55 | ||||
-rw-r--r-- | app-admin/gopass/gopass-9999.ebuild | 7 |
3 files changed, 63 insertions, 2 deletions
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest index d117880..d7100b6 100644 --- a/app-admin/gopass/Manifest +++ b/app-admin/gopass/Manifest @@ -1,4 +1,5 @@ DIST gopass-1.0.0.tar.gz 718426 SHA256 5b4df3f6278d9e95ead00af1f3899e9e83455353bebe444c6fdf521a3d01a097 SHA512 d690dfc027d792b1d478610e3ab59f52a9fb631a30b932f48defd3cdf99547e51ced78cc188b592c7f3e0b15975bd6e510fb2de2a049daf63ee482711e202439 WHIRLPOOL cd137aa261b738ad0717c0d184fe88b605018546a7f845252930e053df34b755f2031c577116c0da45a753a2d2954484d80143b8ae85346df392e7c457e0cb78 +EBUILD gopass-1.0.0-r1.ebuild 1188 SHA256 d4876411bec25c31371ebe5663a57f6248b7b12414f5878428bd06cda402dcfa SHA512 70f5cd9a107901ded38d16122dc6c9206f4d080853a1702c3b00202f2faf8308aea9d3067e9e4e9954013553d9307dad7726a151c7820c8784c8ddcfb71f2e5b WHIRLPOOL 8951105dcf5502339612b77e0e2ccb8fc6210bfb51014ccc74dbc091726041ed1c8e6098bf00410e62b2aa8c500e00585a7dc17ceba1be852cd1624f94b32932 EBUILD gopass-1.0.0.ebuild 1093 SHA256 f1807aed962ea37532546159146b35ff66cb7cfae462791cbd3aa6134d3b3057 SHA512 9a8a4892684ef229be01d06de2dcd26416f843f567cdd4df0f579292fbc9605bd8a822050f86aa3e16f4aa66bbb2f8bedb9fb912607b9dc45835939e44d0ff46 WHIRLPOOL 56034f1e9aeab0e6ebfe155e0fc9a9c5256fa0786553af3dd83146b7260b364ce6e5af3bda5a5c3313b9f82723862a2174a5252bd290df0e92ce0fad8898f007 -EBUILD gopass-9999.ebuild 1093 SHA256 f1807aed962ea37532546159146b35ff66cb7cfae462791cbd3aa6134d3b3057 SHA512 9a8a4892684ef229be01d06de2dcd26416f843f567cdd4df0f579292fbc9605bd8a822050f86aa3e16f4aa66bbb2f8bedb9fb912607b9dc45835939e44d0ff46 WHIRLPOOL 56034f1e9aeab0e6ebfe155e0fc9a9c5256fa0786553af3dd83146b7260b364ce6e5af3bda5a5c3313b9f82723862a2174a5252bd290df0e92ce0fad8898f007 +EBUILD gopass-9999.ebuild 1188 SHA256 d4876411bec25c31371ebe5663a57f6248b7b12414f5878428bd06cda402dcfa SHA512 70f5cd9a107901ded38d16122dc6c9206f4d080853a1702c3b00202f2faf8308aea9d3067e9e4e9954013553d9307dad7726a151c7820c8784c8ddcfb71f2e5b WHIRLPOOL 8951105dcf5502339612b77e0e2ccb8fc6210bfb51014ccc74dbc091726041ed1c8e6098bf00410e62b2aa8c500e00585a7dc17ceba1be852cd1624f94b32932 MISC metadata.xml 618 SHA256 3dce4f82dc34dd1e081707b7c4f451e64aec45b7926c6c9d55a4b42403cc4208 SHA512 8426972607b6d6bcca83dcce41e3a9def8f858901878a2c4fc456bfad2948ef3eadac96d8359f8469675aa3496dae572795f6ae1c007d43d08139816d71c42a7 WHIRLPOOL 0c8411f00620be3bc3e5d4b74d8efd6e833153aa7da3df7b5d2fd16f43e5c53b6ebce4334e3131f6cd43e6d5c43548b075275edcdfafd63291a7883efb8d27b0 diff --git a/app-admin/gopass/gopass-1.0.0-r1.ebuild b/app-admin/gopass/gopass-1.0.0-r1.ebuild new file mode 100644 index 0000000..47b0643 --- /dev/null +++ b/app-admin/gopass/gopass-1.0.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit bash-completion-r1 + +EGO_PN=github.com/justwatchcom/${PN} + +if [[ ${PV} == 9999 ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64 ~x86 ~arm" + EGIT_COMMIT="v${PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="The team password manager. Written in Go." +HOMEPAGE="https://www.justwatch.com/gopass" +LICENSE="MIT" +SLOT="0" +IUSE="X zsh-completion test symlink" +DEPEND=">=dev-lang/go-1.6:=" +RDEPEND=" + app-crypt/gnupg + X? ( x11-misc/xclip ) + zsh-completion? ( app-shells/gentoo-zsh-completions ) + dev-vcs/git + symlink? ( !app-admin/pass ) +" + +src_compile() { + cd "${S}"/src/${EGO_PN} || die + GOPATH="${S}" LDFLAGS="" emake build || die +} + +src_install() { + cd "${S}"/src/${EGO_PN} || die + emake DESTDIR="${D}" install + if use zsh-completion; then + emake zsh.completion || die + insinto /usr/share/zsh/site-functions + newins zsh.completion _${PN} + fi + emake bash.completion || die + newbashcomp bash.completion ${PN} + einstalldocs + + if use symlink ; then + dosym gopass /usr/bin/pass + fi +} + diff --git a/app-admin/gopass/gopass-9999.ebuild b/app-admin/gopass/gopass-9999.ebuild index 014f262..47b0643 100644 --- a/app-admin/gopass/gopass-9999.ebuild +++ b/app-admin/gopass/gopass-9999.ebuild @@ -21,13 +21,14 @@ DESCRIPTION="The team password manager. Written in Go." HOMEPAGE="https://www.justwatch.com/gopass" LICENSE="MIT" SLOT="0" -IUSE="X zsh-completion test" +IUSE="X zsh-completion test symlink" DEPEND=">=dev-lang/go-1.6:=" RDEPEND=" app-crypt/gnupg X? ( x11-misc/xclip ) zsh-completion? ( app-shells/gentoo-zsh-completions ) dev-vcs/git + symlink? ( !app-admin/pass ) " src_compile() { @@ -46,5 +47,9 @@ src_install() { emake bash.completion || die newbashcomp bash.completion ${PN} einstalldocs + + if use symlink ; then + dosym gopass /usr/bin/pass + fi } |