-
-
Notifications
You must be signed in to change notification settings - Fork 0
Build Patterns
m-wells edited this page Jan 30, 2026
·
1 revision
This section describes the different patterns used for packaging various upstream sources.
Packages declare their distribution targets via marker files:
| Marker | Behavior |
|---|---|
.local |
Build and publish to GitHub releases |
.aur |
Push PKGBUILD to AUR |
| (both) | Build locally AND push to AUR |
- Pattern-npm - Node.js packages from npm registry
- Pattern-Python - Python packages following Arch guidelines
- Pattern-AppImage - Self-contained Linux applications
- Pattern-Binary - Pre-compiled binaries
Each package should include a check.sh script for post-build verification:
#!/bin/bash
set -e
PKG_FILE="$1"
sudo pacman -U --noconfirm "$PKG_FILE"
# Verify the package works
if command --version; then
echo "PASS"
else
echo "FAIL"
exit 1
fiNavigation
Build Patterns
Infrastructure