4b8c077711
This reverts commitf6892c38d8
, reversing changes made to4d9075fea3
.
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/jesseduffield/lazygit
|
|
TERMUX_PKG_DESCRIPTION="Simple terminal UI for git commands"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="Krishna kanhaiya @kcubeterm"
|
|
TERMUX_PKG_VERSION=0.28.2
|
|
TERMUX_PKG_SRCURL=https://github.com/jesseduffield/lazygit/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=4925089bff0fee55ccc495fdcc2d396e48e04d16ad8d6681b6cce7b10eefa2b4
|
|
TERMUX_PKG_RECOMMENDS=git
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
|
|
cd "$TERMUX_PKG_SRCDIR"
|
|
|
|
mkdir -p "${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield"
|
|
cp -a "${TERMUX_PKG_SRCDIR}" "${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield/lazygit"
|
|
cd "${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield/lazygit"
|
|
|
|
go get -d -v
|
|
go build
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
mkdir -p $TERMUX_PREFIX/share/doc/lazygit
|
|
|
|
install -Dm700 ${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield/lazygit/lazygit \
|
|
$TERMUX_PREFIX/bin/lazygit
|
|
|
|
cp -a ${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield/lazygit/docs/* \
|
|
$TERMUX_PREFIX/share/doc/lazygit/
|
|
|
|
}
|