termux-packages/packages/kak-lsp/build.sh

21 lines
761 B
Bash
Raw Normal View History

2021-08-18 21:42:20 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/kak-lsp/kak-lsp
TERMUX_PKG_DESCRIPTION="Language Server Protocol Client for the Kakoune editor"
TERMUX_PKG_LICENSE="MIT, Unlicense"
TERMUX_PKG_MAINTAINER="@buttaface"
TERMUX_PKG_VERSION=11.1.0
2021-08-18 21:42:20 +02:00
TERMUX_PKG_SRCURL=https://github.com/kak-lsp/kak-lsp/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=8e3b5d1804628dc6680902e9d93f0aef62e53ba022802330d60e6eebeef6991b
TERMUX_PKG_AUTO_UPDATE=true
2021-08-18 21:42:20 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
rm Makefile
}
termux_step_post_make_install() {
rm -rf $TERMUX_PREFIX/share/kak-lsp
mkdir -p $TERMUX_PREFIX/share/kak-lsp/examples
cp $TERMUX_PKG_SRCDIR/kak-lsp.toml $TERMUX_PREFIX/share/kak-lsp/examples
cp -r $TERMUX_PKG_SRCDIR/rc $TERMUX_PREFIX/share/kak-lsp
}