termux-packages/packages/ugit/build.sh
2022-04-01 19:14:06 +09:00

18 lines
708 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/Bhupesh-V/ugit
TERMUX_PKG_DESCRIPTION="ugit helps you undo your last git command with grace. Your damage control git buddy"
TERMUX_PKG_LICENSE=MIT
TERMUX_PKG_MAINTAINER=@termux
TERMUX_PKG_VERSION=5.1
TERMUX_PKG_SRCURL=$TERMUX_PKG_HOMEPAGE/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=52e72f9d44c3160987cdc0a393ccce3c0c76e76aa6b3e792e4b7ef2891a2b09d
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS='bash, ugit'
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
local bin="$(basename $TERMUX_PKG_HOMEPAGE)"
install -D "$bin" -t "$TERMUX_PREFIX/bin"
ln -sf "$TERMUX_PREFIX/bin/$bin" "$TERMUX_PREFIX/bin/gitundo"
}