You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
676 B
24 lines
676 B
TERMUX_PKG_HOMEPAGE=https://micro-editor.github.io/
|
|
TERMUX_PKG_DESCRIPTION="Modern and intuitive terminal-based text editor"
|
|
TERMUX_PKG_VERSION=1.4.0
|
|
TERMUX_PKG_SHA256=2b36a4e7f69e6bb48591527454a93ff781db8e8a94dc646e934f6a3de862d40b
|
|
TERMUX_PKG_SRCURL=https://github.com/zyedidia/micro/releases/download/v${TERMUX_PKG_VERSION}/micro-${TERMUX_PKG_VERSION}-src.tar.gz
|
|
|
|
termux_step_make() {
|
|
return
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
termux_setup_golang
|
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
|
local MICRO_SRC=$GOPATH/src/github.com/zyedidia/micro
|
|
|
|
cd $TERMUX_PKG_SRCDIR
|
|
mkdir -p $MICRO_SRC
|
|
cp -R . $MICRO_SRC
|
|
|
|
cd $MICRO_SRC
|
|
make build-quick
|
|
mv micro $TERMUX_PREFIX/bin/micro
|
|
}
|
|
|