4764f5f37f
Tracks upstream lmcp v1.1.0 (commit 7e62f71). Closes 3 upstream issues: #11 (progress + cancellation), #18 (windows MSI sync), #20 (concurrent handler dispatch). Arch: pkgver=1.1.0 (no pre-release suffix this time). _tag back-translation kept so future rc bumps just need pkgver=X.Y.Z_rcN. Debian: PKGVER=1.1.0 (no ~ suffix). Changelog entry summarises the three closed issues + the zero- handler-source-changes invariant. New tarball sha256: d758a9504389528cb8940ea81bc8cf47afad8c01166aef3484ac4f5752445532 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
31 lines
1.5 KiB
Bash
31 lines
1.5 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.1.0
|
|
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=('d758a9504389528cb8940ea81bc8cf47afad8c01166aef3484ac4f5752445532')
|
|
|
|
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 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"
|
|
}
|