# packaging/ Roadmap for distro packaging. One directory per recipe tool, recipes added when written — nothing is implemented yet, the directories are stubs. | dir | tool | distro | recipe files when done | status | |------------|-----------------------|----------|------------------------|--------| | `makepkg/` | makepkg | Arch | `PKGBUILD` | stub | | `abuild/` | abuild | Alpine | `APKBUILD` | stub | | `ebuild/` | portage | Gentoo | `vendetta.ebuild` | stub | | `xbps-src/` | xbps-src | Void | `template` | stub | | `freebsd/` | ports framework | FreeBSD | `Makefile`, `distinfo`, `pkg-descr` | stub | | `openbsd/` | bsd.port.mk | OpenBSD | `Makefile`, `distinfo`, `pkg/` | stub | | `macports/` | MacPorts | macOS | `Portfile` | stub | Statuses: **stub** — directory only; **draft** — recipe written, untested or unproven; **maintained** — the distro's own builder builds this tree from it and it is kept current. ## What every recipe must do - **Build** with the canonical command (AGENTS.md §2), from inside the tree — `v.mod` beside `src/` is what makes the `libvendetta` subimports resolve: ``` v -new-compiler -prod -d ui2_custom_rendering src -o vendetta ``` `-new-compiler` wants a current compiler, so the recipe builds V (`vlang/v` master) itself or documents the required floor; `v install ui2` as in the nightly musl runner (`.forgejo/workflows/nightly_musl.yaml`). Per-OS variants (macOS's two mandatory defines, BSD include/lib paths) follow §2's build-mode table. - **Install** `/usr/lib/vendetta/{vendetta,assets/}` plus a `/usr/bin` symlink. That layout follows ui2's font search (`font_bundle_dirs` checks the executable's own directory first, `os.executable()` resolves through a symlink), and the shipped faces keep a fontless machine rendering identically (`assets/fonts/README.md`). - **Package no state files**: everything lives in `/vendetta/` under the user's home (AGENTS.md §12). - **Pin the source** (a commit hash, not a moving ref), checksum it for real, and derive `pkgver` from `v.mod` until real tags exist. Status per target lives here when recipes land.