Skip to content

feat: add distro packaging for Arch, Debian, and Gentoo#30

Open
s85io wants to merge 1 commit intomobydeck:mainfrom
s85io:feat/distro-packaging
Open

feat: add distro packaging for Arch, Debian, and Gentoo#30
s85io wants to merge 1 commit intomobydeck:mainfrom
s85io:feat/distro-packaging

Conversation

@s85io
Copy link

@s85io s85io commented Mar 18, 2026

Summary

  • Add make install target with DESTDIR/PREFIX support (required by all packaging systems)
  • Add pkg/arch/PKGBUILD — Arch Linux package, buildable with makepkg -si
  • Add pkg/deb/build-deb.sh — self-contained script to produce a .deb package
  • Add pkg/gentoo/ ebuild for Gentoo overlays (supports both live 9999 and versioned builds)

All three packages build with dynamic linking (STATIC_FLAG=) per distro conventions. Release tarballs remain statically linked as before.

Test plan

  • make install DESTDIR=/tmp/test installs binary and man page correctly
  • cd pkg/arch && makepkg -si builds and installs on Arch
  • ./pkg/deb/build-deb.sh 0.4 produces a valid .deb on Debian/Ubuntu
  • Gentoo ebuild works in a local overlay

🤖 Generated with Claude Code

Add make install target with DESTDIR/PREFIX support and packaging
recipes for three Linux distributions:

- pkg/arch/PKGBUILD for Arch Linux (makepkg -si)
- pkg/deb/build-deb.sh for Debian/Ubuntu (.deb)
- pkg/gentoo/ ebuild for Gentoo overlays (live + versioned)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants