commit 5bef1f52ffc4bbd13d6830a3ee5c5cbe5b85b310 Author: Vitalii Kuzhdin Date: Sat Jan 24 12:35:56 2026 +0200 Initial build (0.29.0) diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1871fe3cc160 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = github-mcp-server-bin + pkgdesc = GitHub's official MCP server which connects AI tools directly to GitHub's platform + pkgver = 0.29.0 + pkgrel = 1 + url = https://github.com/github/github-mcp-server + arch = aarch64 + arch = i686 + arch = x86_64 + license = MIT + provides = github-mcp-server + conflicts = github-mcp-server + source_aarch64 = github-mcp-server-0.29.0-aarch64.tar.gz::https://github.com/github/github-mcp-server/releases/download/v0.29.0/github-mcp-server_Linux_arm64.tar.gz + sha256sums_aarch64 = 8a14301c316749227b07ec965d6b459d9f7f3b0b018b8930fdc7dbe4059b0606 + source_i686 = github-mcp-server-0.29.0-i686.tar.gz::https://github.com/github/github-mcp-server/releases/download/v0.29.0/github-mcp-server_Linux_i386.tar.gz + sha256sums_i686 = 4def8c69f769fe5466912c27796e914e0aea20ec323cded568885ea3f2ab24ce + source_x86_64 = github-mcp-server-0.29.0-x86_64.tar.gz::https://github.com/github/github-mcp-server/releases/download/v0.29.0/github-mcp-server_Linux_x86_64.tar.gz + sha256sums_x86_64 = 9baaacbb408feb83961cabd0fb644231713c6e286deda881d121e7804daa6bb4 + +pkgname = github-mcp-server-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..218cc907c9ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore +!.nvchecker.toml diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..29c866e1b28f --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,5 @@ +[github-mcp-server-bin] +source = "github" +github = "github/github-mcp-server" +use_latest_release = true +prefix = "v" diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ce731bc2c922 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Vitalii Kuzhdin + +_pkgname="github-mcp-server" +pkgname="${_pkgname}-bin" +pkgver=0.29.0 +pkgrel=1 +pkgdesc="GitHub's official MCP server which connects AI tools directly to GitHub's platform" +arch=( + 'aarch64' + 'i686' + 'x86_64' +) +url="https://github.com/github/${_pkgname}" +license=( + 'MIT' +) +provides=( + "${_pkgname}" +) +conflicts=( + "${_pkgname}" +) +_pkgsrc="${_pkgname}-${pkgver}" +source_aarch64=( + "${_pkgsrc}-aarch64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_Linux_arm64.tar.gz" +) +source_i686=( + "${_pkgsrc}-i686.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_Linux_i386.tar.gz" +) +source_x86_64=( + "${_pkgsrc}-x86_64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_Linux_x86_64.tar.gz" +) +sha256sums_aarch64=('8a14301c316749227b07ec965d6b459d9f7f3b0b018b8930fdc7dbe4059b0606') +sha256sums_i686=('4def8c69f769fe5466912c27796e914e0aea20ec323cded568885ea3f2ab24ce') +sha256sums_x86_64=('9baaacbb408feb83961cabd0fb644231713c6e286deda881d121e7804daa6bb4') + +prepare() { + cd "${srcdir}" + chmod +x ./"${_pkgname}" + mkdir -p "completions" +} + +build() { + for _sh in bash fish powershell zsh; do + ./"${_pkgname}" completion "${_sh}" > "completions/${_pkgname}.${_sh}" + done +} + +package() { + cd "${srcdir}" + install -vDm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + install -vDm644 "README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md" + install -vDm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + + cd "completions" + install -vDm644 "${_pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}" + install -vDm644 "${_pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${_pkgname}.fish" + install -vDm644 "${_pkgname}.powershell" "${pkgdir}/usr/share/powershell/Completions/${_pkgname}.ps1" + install -vDm644 "${_pkgname}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}" +}