Add "hub", a tool to make working with github easier.

This commit is contained in:
Adrien Destugues
2015-04-27 21:10:10 +02:00
parent b8ec329ae8
commit 3f191bb38f

View File

@@ -0,0 +1,40 @@
SUMMARY="Git helper for better Github integration."
DESCRIPTION="hub enhances various git commands to ease most common workflows \
with GitHub. You can more easily fetch and manage remotes and forks, merge \
commits directly from the website, and even create and update pull requests, \
all from the command line."
REVISION="1"
ARCHITECTURES="any"
LICENSE="MIT"
COPYRIGHT="2009-2014 Chris Wanstrath"
HOMEPAGE="http://hub.github.com/"
SRC_URI="https://github.com/github/hub/archive/v1.12.4.tar.gz"
PROVIDES="
hub = $portVersion
cmd:hub
"
REQUIRES="
cmd:ruby
"
BUILD_PREREQUIRES="
cmd:ruby
cmd:rake
"
BUILD()
{
true
}
INSTALL()
{
rake install PREFIX=$prefix
# Fixup some hardcoded paths…
mkdir -p $docDir
mv $prefix/share/man $manDir
rmdir $prefix/share
}