feat: add distro packaging for Arch, Debian, and Gentoo#30
Open
s85io wants to merge 1 commit intomobydeck:mainfrom
Open
feat: add distro packaging for Arch, Debian, and Gentoo#30s85io wants to merge 1 commit intomobydeck:mainfrom
s85io wants to merge 1 commit intomobydeck:mainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make installtarget withDESTDIR/PREFIXsupport (required by all packaging systems)pkg/arch/PKGBUILD— Arch Linux package, buildable withmakepkg -sipkg/deb/build-deb.sh— self-contained script to produce a.debpackagepkg/gentoo/ebuild for Gentoo overlays (supports both live9999and 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/testinstalls binary and man page correctlycd pkg/arch && makepkg -sibuilds and installs on Arch./pkg/deb/build-deb.sh 0.4produces a valid .deb on Debian/Ubuntu🤖 Generated with Claude Code