Document packaging and release artifacts
This commit is contained in:
parent
aee984d862
commit
e0e5cd62d9
14 changed files with 470 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue