#!/usr/bin/env bash
# Build an Arch Linux package for converge using makepkg.
#
# Usage:
#   ./scripts/makepkg            # Build the package (no install)
#   ./scripts/makepkg -i         # Build and install
#   ./scripts/makepkg -s         # Build and install missing deps
#
# The resulting .pkg.tar.zst will be placed in the project root.
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."

makepkg -f "$@"
