lua-language-server: Use generic patch file names
This commit is contained in:
parent
eb8ee8a183
commit
4c918e0314
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Sumneko Lua Language Server coded in Lua"
|
|||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
TERMUX_PKG_MAINTAINER="MrAdityaAlok <dev.aditya.alok@gmail.com>"
|
TERMUX_PKG_MAINTAINER="MrAdityaAlok <dev.aditya.alok@gmail.com>"
|
||||||
TERMUX_PKG_VERSION=2.6.0
|
TERMUX_PKG_VERSION=2.6.0
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_GIT_BRANCH="${TERMUX_PKG_VERSION}"
|
TERMUX_PKG_GIT_BRANCH="${TERMUX_PKG_VERSION}"
|
||||||
TERMUX_PKG_SRCURL="https://github.com/sumneko/lua-language-server.git"
|
TERMUX_PKG_SRCURL="https://github.com/sumneko/lua-language-server.git"
|
||||||
TERMUX_PKG_BUILD_DEPENDS="libandroid-spawn"
|
TERMUX_PKG_BUILD_DEPENDS="libandroid-spawn"
|
||||||
@ -14,7 +15,7 @@ _patch_on_device() {
|
|||||||
current_dir=$(pwd)
|
current_dir=$(pwd)
|
||||||
|
|
||||||
cd "${TERMUX_PKG_SRCDIR}"
|
cd "${TERMUX_PKG_SRCDIR}"
|
||||||
patch --silent -p1 <"${TERMUX_PKG_BUILDER_DIR}"/android.patch.ondevice.beforehostbuild
|
patch --silent -p1 <"${TERMUX_PKG_BUILDER_DIR}"/android.diff
|
||||||
|
|
||||||
cd "${current_dir}"
|
cd "${current_dir}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user