termux-packages/packages/hub/build.sh

19 lines
564 B
Bash
Raw Normal View History

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"
2018-06-04 00:42:01 +02:00
TERMUX_PKG_VERSION=2.3.0
TERMUX_PKG_SHA256=69e48105f7287537e7afaf969825666c1f09267eae3507515151900487342fae
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() {
cd $TERMUX_PKG_SRCDIR
termux_setup_golang
./script/build
cp bin/hub $TERMUX_PREFIX/bin/
2018-06-04 00:42:01 +02:00
#mkdir -p $TERMUX_PREFIX/share/man/man1/
#cp man/hub.1 $TERMUX_PREFIX/share/man/man1/
2016-09-30 01:28:40 +02:00
}