From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-vcs/hub/hub-2.2.9.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dev-vcs/hub/hub-2.2.9.ebuild (limited to 'dev-vcs/hub/hub-2.2.9.ebuild') diff --git a/dev-vcs/hub/hub-2.2.9.ebuild b/dev-vcs/hub/hub-2.2.9.ebuild new file mode 100644 index 000000000000..e05d3627ad9b --- /dev/null +++ b/dev-vcs/hub/hub-2.2.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 readme.gentoo-r1 + +DESCRIPTION="Command-line wrapper for git that makes you better at GitHub" +HOMEPAGE="https://github.com/github/hub" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=dev-lang/go-1.5.1:=" +RDEPEND=">=dev-vcs/git-1.7.3" + +DOC_CONTENTS="You may want to add 'alias git=hub' to your .{csh,bash}rc" + +src_compile() { + ./script/build || die +} + +#src_test() { +# ./script/test || die +#} + +src_install() { + readme.gentoo_create_doc + + dobin bin/hub + + doman man/${PN}.1 + dodoc README.md + + newbashcomp etc/${PN}.bash_completion.sh ${PN} + + insinto /usr/share/zsh/site-functions + newins etc/hub.zsh_completion _${PN} +} + +pkg_postinst() { + readme.gentoo_print_elog +} -- cgit v1.2.3