termux-packages/packages/hub/build.sh
2018-06-08 14:17:31 +02:00

19 lines
564 B
Bash

TERMUX_PKG_HOMEPAGE=https://hub.github.com/
TERMUX_PKG_DESCRIPTION="Command-line wrapper for git that makes you better at GitHub"
TERMUX_PKG_VERSION=2.4.0
TERMUX_PKG_SHA256=894eb112be9aa0464fa2c63f48ae8e573ef9e32a00bad700e27fd09a0cb3be4b
TERMUX_PKG_SRCURL=https://github.com/github/hub/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="git"
termux_step_make_install() {
cd $TERMUX_PKG_SRCDIR
termux_setup_golang
./script/build
cp bin/hub $TERMUX_PREFIX/bin/
#mkdir -p $TERMUX_PREFIX/share/man/man1/
#cp man/hub.1 $TERMUX_PREFIX/share/man/man1/
}