2017-04-10 22:24:50 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://micro-editor.github.io/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Modern and intuitive terminal-based text editor"
|
2017-11-25 22:49:50 +01:00
|
|
|
TERMUX_PKG_VERSION=1.3.4
|
|
|
|
TERMUX_PKG_SHA256=d74c13a83196b9e62a4c62463115577ad20912ae48d3fac5226ebf33f7724ae2
|
2017-04-10 22:24:50 +02:00
|
|
|
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
|
|
|
|
|
2017-08-11 00:26:18 +02:00
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
|
|
|
local MICRO_SRC=$GOPATH/src/github.com/zyedidia/micro
|
2017-04-10 22:24:50 +02:00
|
|
|
|
2017-08-11 00:26:18 +02:00
|
|
|
cd $TERMUX_PKG_SRCDIR
|
|
|
|
mkdir -p $MICRO_SRC
|
|
|
|
cp -R . $MICRO_SRC
|
|
|
|
|
|
|
|
cd $MICRO_SRC
|
|
|
|
make build-quick
|
|
|
|
mv micro $TERMUX_PREFIX/bin/micro
|
2017-04-10 22:24:50 +02:00
|
|
|
}
|