Document packaging and release artifacts

This commit is contained in:
Luna 2026-06-17 00:22:43 -07:00
parent aee984d862
commit e0e5cd62d9
14 changed files with 470 additions and 13 deletions

View file

@ -1,9 +1,14 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Build the Arch package from the repo root.
set -e
set -eu
cd "$(dirname "$0")"
command -v makepkg >/dev/null 2>&1 || {
echo "error: makepkg not found; install pacman/base-devel tooling first" >&2
exit 127
}
echo "Building enodia-sentinel package..."
makepkg -f --noconfirm
umask 022
makepkg -f --cleanbuild --noconfirm
mv -f *.pkg.tar.zst ../ 2>/dev/null || true
echo "Done. Install with: sudo pacman -U enodia-sentinel-*.pkg.tar.zst"