Files
marfrit-packages/arch/lmcp/PKGBUILD
T
test0r d02dfdbfa0 lmcp: bump to v0.5.0 (hub broker + examples)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 14:30:03 +02:00

27 lines
1.2 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=0.5.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')
source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/lmcp/archive/v${pkgver}.tar.gz")
sha256sums=('916825617efb5054d3e7d3ca7451ce849842054afe7ab18e8a2511aa0a76b9eb')
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/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"
}