2020-10-03 06:01:54 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/jesseduffield/lazygit
|
2020-10-03 14:40:51 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Simple terminal UI for git commands"
|
2020-10-03 06:01:54 +02:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
|
|
TERMUX_PKG_MAINTAINER="Krishna kanhaiya @kcubeterm"
|
2022-02-19 07:16:02 +01:00
|
|
|
TERMUX_PKG_VERSION=0.33
|
2020-10-03 06:01:54 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/jesseduffield/lazygit/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2022-02-19 07:16:02 +01:00
|
|
|
TERMUX_PKG_SHA256=ff7ab429ecd54f6e2aedcfd4835eb8ca17c1990aac2534f8c2a19ce4267ade24
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-10-03 06:01:54 +02:00
|
|
|
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"
|
|
|
|
|
2021-07-10 16:00:18 +02:00
|
|
|
go get -d -v
|
2020-10-03 06:01:54 +02:00
|
|
|
go build
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2020-10-03 06:17:05 +02:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/doc/lazygit
|
2020-10-03 06:01:54 +02:00
|
|
|
|
|
|
|
install -Dm700 ${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield/lazygit/lazygit \
|
|
|
|
$TERMUX_PREFIX/bin/lazygit
|
|
|
|
|
2020-10-03 06:17:05 +02:00
|
|
|
cp -a ${TERMUX_PKG_BUILDDIR}/src/github.com/jesseduffield/lazygit/docs/* \
|
|
|
|
$TERMUX_PREFIX/share/doc/lazygit/
|
2020-10-03 06:01:54 +02:00
|
|
|
|
|
|
|
}
|