lua-language-server: Use generic patch file names

This commit is contained in:
Yaksh Bariya 2022-02-08 19:54:11 +05:30 committed by xtkoba
parent eb8ee8a183
commit 4c918e0314
2 changed files with 2 additions and 1 deletions

View File

@ -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