75046ee3bc
Ships marfrit/lmcp v1.2.4: shell/shell_bg kills the whole process group on timeout/cancel (no orphans) + new kill_job/list_jobs tools. Updates arch PKGBUILD (pkgver + sha256) and debian changelog. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
32 lines
1.6 KiB
Bash
32 lines
1.6 KiB
Bash
# Maintainer: Markus Fritsche <mfritsche@reauktion.de>
|
|
# Lightweight MCP server in pure Lua.
|
|
# Source of truth: git.reauktion.de/marfrit/lmcp
|
|
|
|
pkgname=lmcp
|
|
pkgver=1.2.4
|
|
pkgrel=1
|
|
pkgdesc="Lightweight MCP (Model Context Protocol) server in pure Lua"
|
|
arch=('any')
|
|
url="https://git.reauktion.de/marfrit/lmcp"
|
|
license=('MIT')
|
|
depends=('lua' 'lua-socket')
|
|
# The _tag back-translation handles both clean releases (no '_') and
|
|
# pre-release pkgvers (e.g. 1.2.0_rc1 → v1.2.0-rc1).
|
|
_tag="v${pkgver//_/-}"
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/lmcp/archive/${_tag}.tar.gz")
|
|
sha256sums=('e8ede94e93f5f2bbc8bacbc795c17640772ecd62855e820394c00f2f3be5b42c')
|
|
|
|
package() {
|
|
cd "${pkgname}"
|
|
install -Dm644 lmcp.lua "${pkgdir}/usr/share/lua/5.4/lmcp.lua"
|
|
install -Dm644 json.lua "${pkgdir}/usr/share/lua/5.4/json.lua"
|
|
install -Dm644 server.lua "${pkgdir}/usr/share/lua/5.4/server.lua"
|
|
install -Dm644 hub.lua "${pkgdir}/usr/share/lua/5.4/hub.lua"
|
|
install -Dm644 tools.d/nash.lua "${pkgdir}/usr/share/lua/5.4/nash.lua"
|
|
install -Dm644 examples/lmcp-hub.service "${pkgdir}/usr/share/doc/${pkgname}/examples/lmcp-hub.service"
|
|
install -Dm644 examples/lmcp.service "${pkgdir}/usr/share/doc/${pkgname}/examples/lmcp.service"
|
|
install -Dm644 examples/hub-backends.conf.example "${pkgdir}/usr/share/doc/${pkgname}/examples/hub-backends.conf.example"
|
|
install -Dm755 example_server.lua "${pkgdir}/usr/bin/lmcp-example"
|
|
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
|
}
|