Helix: bump to version 0.4.1
This commit is contained in:
parent
a3090367d0
commit
3a6ff407d4
@ -2,18 +2,18 @@ TERMUX_PKG_HOMEPAGE="https://helix-editor.com/"
|
|||||||
TERMUX_PKG_DESCRIPTION="A post-modern modal text editor written in rust"
|
TERMUX_PKG_DESCRIPTION="A post-modern modal text editor written in rust"
|
||||||
TERMUX_PKG_LICENSE="MPL-2.0"
|
TERMUX_PKG_LICENSE="MPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.3.0
|
TERMUX_PKG_VERSION=0.4.1
|
||||||
TERMUX_PKG_SRCURL="https://github.com/helix-editor/helix.git"
|
TERMUX_PKG_SRCURL="https://github.com/helix-editor/helix.git"
|
||||||
TERMUX_PKG_GIT_BRANCH=v$TERMUX_PKG_VERSION
|
TERMUX_PKG_GIT_BRANCH=v$TERMUX_PKG_VERSION
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
termux_step_make_install(){
|
termux_step_make_install() {
|
||||||
termux_setup_rust
|
termux_setup_rust
|
||||||
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
||||||
|
|
||||||
cat > "hx" <<- EOF
|
cat > "hx" <<- EOF
|
||||||
#!${TERMUX_PREFIX}/bin/sh
|
#!${TERMUX_PREFIX}/bin/sh
|
||||||
HELIX_RUNTIME=${TERMUX_PREFIX}/lib/helix/runtime exec ${TERMUX_PREFIX}/lib/helix/hx "\$@"
|
HELIX_RUNTIME=${TERMUX_PREFIX}/lib/helix/runtime exec ${TERMUX_PREFIX}/lib/helix/hx "\$@"
|
||||||
EOF
|
EOF
|
||||||
install -Dm755 ./hx $TERMUX_PREFIX/bin/hx
|
install -Dm755 ./hx $TERMUX_PREFIX/bin/hx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user