Skip to content

Add AUR (Arch User Repository) package for Arch Linux #10

@richardwooding

Description

@richardwooding

Feature Request

Add AUR package support for Arch Linux and derivatives (Manjaro, EndeavourOS, etc.).

Description

Configure GoReleaser to automatically publish to the Arch User Repository, enabling Arch Linux users to install via:

yay -S mcp-server-dump-bin
# or
paru -S mcp-server-dump-bin

Implementation

Add to .goreleaser.yaml:

aurs:
  - name: mcp-server-dump-bin
    ids:
      - mcp-server-dump
    homepage: "https://github.com/spandigital/mcp-server-dump"
    description: "Extract and document MCP server capabilities"
    maintainers:
      - "SPAN Digital <tech@spandigital.com>"
    contributors:
      - "SPAN Digital"
    license: "MIT"
    private_key: "{{ .Env.AUR_KEY }}"
    git_url: "ssh://aur@aur.archlinux.org/mcp-server-dump-bin.git"
    depends:
      - glibc
    optdepends:
      - "nodejs: for Node.js MCP servers"
      - "python: for Python MCP servers"
    provides:
      - mcp-server-dump
    conflicts:
      - mcp-server-dump
    backup:
      - etc/mcp-server-dump/config.yaml  # if we add config later
    package: |-
      # bin
      install -Dm755 "./mcp-server-dump" "${pkgdir}/usr/bin/mcp-server-dump"
      
      # license
      install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/mcp-server-dump/LICENSE"
      
      # documentation
      install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/mcp-server-dump/README.md"
    commit_author:
      name: "GoReleaser Bot"
      email: "bot@goreleaser.com"

Benefits

  • Native Arch Linux package management
  • AUR helpers integration (yay, paru, etc.)
  • Community-driven repository
  • Automatic dependency resolution
  • PKGBUILD generation

Variations

  • -bin suffix for precompiled binaries (faster installation)
  • Could also provide source package without -bin suffix
  • -git version for latest development builds

Requirements

  • AUR account
  • SSH key for AUR access
  • PKGBUILD validation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions