mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
77ea5a5b6e
This commit has been automatically submitted by Github Actions.
23 lines
762 B
Bash
23 lines
762 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/bergercookie/asm-lsp
|
|
TERMUX_PKG_DESCRIPTION="language server for NASM/GAS/GO assembly"
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.9.0"
|
|
TERMUX_PKG_BUILD_DEPENDS="openssl"
|
|
TERMUX_PKG_SRCURL=https://github.com/bergercookie/asm-lsp/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=863bdc5aad7039f7f355e09a2a759adbef6ea40b9efb3085f7bee4a382d79e11
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_rust
|
|
|
|
cargo fetch --target "${CARGO_TARGET_NAME}"
|
|
|
|
local d
|
|
for d in $HOME/.cargo/registry/src/*/memmap2-*; do
|
|
patch --silent -p1 -d "${d}" < "$TERMUX_PKG_BUILDER_DIR/memmap2.diff" || :
|
|
done
|
|
}
|