Pattern: AUR-Style Source-Only Remote
May 30, 2026 · View on GitHub
Goal: Community or team maintains pkg.lua in Git; users install with elda i and build locally - no published binaries required.
Architecture
[Maintainers] -> Git push -> packages/<pkg>/pkg.lua
↓
CI signs index-v1.json.zst
↓
[Clients] elda sync -> elda i pkg (source lane)
Maintainer Steps
- Create
pkgsrepository withpackages/<pkgname>/. - Add recipes (
elda rc add, hand-edit, orelda ci sub). - On each release:
- Pin
repo_commitper package in the index. - Embed
pkg_luasnapshot or reference per SPEC.md. - Sign index; upload index +
.sig.
- Pin
- Publish
remote-metadata-v1.tomlwhen rotating keys.
Client Steps
elda rmt add community=https://example.com/index-v1.json.zst \
--trust pinned --trusted-key ed25519:... \
--packages-url https://github.com/org/pkgs.git
elda sync community
elda i fsel
Compared to Arch AUR
| AUR | Elda source-only remote |
|---|---|
| PKGBUILD in Git | pkg.lua + optional build.lua |
makepkg on client | Elda build/stage/install |
| No official binary repo | Optional later binhost on same remote |
Optional: Interemote Instead
If upstream is already a Gentoo overlay, you may consume it as an interemote instead of mirroring recipes - see ../interemote-foreign-repos.md.