You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
611 B
20 lines
611 B
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.2.8
|
|
TERMUX_PKG_SRCURL=https://github.com/github/hub/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=61f67d94d495bdd2f8e7eae3054fab8a5ec8f5d839f27a63dbacc2a4e230d847
|
|
TERMUX_PKG_DEPENDS="git"
|
|
TERMUX_PKG_FOLDERNAME=hub-${TERMUX_PKG_VERSION}
|
|
|
|
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/
|
|
}
|
|
|
|
|