2022-07-22 21:06:17 +02:00
|
|
|
# Template file for 'lua-language-server'
|
|
|
|
pkgname=lua-language-server
|
2022-09-19 15:07:21 +02:00
|
|
|
version=3.5.6
|
2022-07-22 21:06:17 +02:00
|
|
|
revision=1
|
|
|
|
create_wrksrc=yes
|
|
|
|
hostmakedepends="ninja"
|
|
|
|
short_desc="Lua LSP implementation written in Lua"
|
|
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/sumneko/lua-language-server"
|
|
|
|
changelog="https://raw.githubusercontent.com/sumneko/lua-language-server/master/changelog.md"
|
2022-07-27 18:52:48 +02:00
|
|
|
distfiles="https://github.com/sumneko/lua-language-server/releases/download/${version}/lua-language-server-${version}-submodules.zip"
|
2022-09-19 15:07:21 +02:00
|
|
|
checksum=e93879645e8fd7de8b434f8db4825e29960806805f1612f34765a359251e1059
|
2022-07-22 21:06:17 +02:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
ninja -C 3rd/luamake -f compile/ninja/linux.ninja
|
|
|
|
./3rd/luamake/luamake -platform ${XBPS_TARGET_MACHINE} rebuild
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall main.lua 644 usr/lib/${pkgname}
|
|
|
|
vinstall debugger.lua 644 usr/lib/${pkgname}
|
|
|
|
vinstall changelog.md 644 usr/lib/${pkgname}
|
|
|
|
vinstall bin/main.lua 644 usr/lib/${pkgname}/bin
|
|
|
|
vinstall bin/${pkgname} 755 usr/lib/${pkgname}/bin
|
|
|
|
|
|
|
|
vcopy meta usr/lib/${pkgname}
|
|
|
|
vcopy locale usr/lib/${pkgname}
|
|
|
|
vcopy script usr/lib/${pkgname}
|
|
|
|
|
|
|
|
vbin ${FILESDIR}/lua-language-server
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|