termux-elf-cleaner: Move to standalone repo
[termux-packages] / packages / hub / build.sh
1 TERMUX_PKG_HOMEPAGE=https://hub.github.com/
2 TERMUX_PKG_DESCRIPTION="Command-line wrapper for git that makes you better at GitHub"
3 TERMUX_PKG_VERSION=2.2.8
4 TERMUX_PKG_SRCURL=https://github.com/github/hub/archive/v${TERMUX_PKG_VERSION}.tar.gz
5 TERMUX_PKG_SHA256=61f67d94d495bdd2f8e7eae3054fab8a5ec8f5d839f27a63dbacc2a4e230d847
6 TERMUX_PKG_DEPENDS="git"
7 TERMUX_PKG_FOLDERNAME=hub-${TERMUX_PKG_VERSION}
8
9 termux_step_make_install() {
10 cd $TERMUX_PKG_SRCDIR
11
12 termux_setup_golang
13
14 ./script/build
15
16 cp bin/hub $TERMUX_PREFIX/bin/
17 mkdir -p $TERMUX_PREFIX/share/man/man1/
18 cp man/hub.1 $TERMUX_PREFIX/share/man/man1/
19 }
20