2016-09-30 01:28:40 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://hub.github.com/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Command-line wrapper for git that makes you better at GitHub"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2019-01-30 00:50:19 +01:00
|
|
|
TERMUX_PKG_VERSION=2.8.4
|
|
|
|
TERMUX_PKG_SHA256=0aa1342ac5701dc9b7e787ad69640ede06fc84cbe88fb63440b81aca4d4b6273
|
2016-09-30 01:28:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/github/hub/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_DEPENDS="git"
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
termux_setup_golang
|
|
|
|
|
2018-07-11 11:55:14 +02:00
|
|
|
cd $TERMUX_PKG_SRCDIR
|
2016-09-30 01:28:40 +02:00
|
|
|
|
2018-07-11 11:55:14 +02:00
|
|
|
export GOPATH="${TERMUX_PKG_BUILDDIR}"
|
|
|
|
mkdir -p "${GOPATH}/src/github.com/github"
|
|
|
|
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/github/hub"
|
|
|
|
cd "${GOPATH}/src/github.com/github/hub"
|
|
|
|
make bin/hub prefix=$TERMUX_PREFIX
|
|
|
|
cp ./bin/hub $TERMUX_PREFIX/bin/hub
|
2016-09-30 01:28:40 +02:00
|
|
|
}
|