- Move PHP and Go framework docs from /packages/ to /build/ - Move CLI docs from /packages/go/cmd/ to /build/cli/ - Add /publish/ section with docs for all release publishers: GitHub, Docker, npm, Homebrew, Scoop, AUR, Chocolatey, LinuxKit - Add sidebar navigation for /publish/ section - Update nav with Build, Publish, Deploy dropdowns - Remove changelog, contributing, guide, and security sections - Make sidebar auto-discover from packages, build, publish, deploy dirs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
AUR
Publish to the Arch User Repository for Arch Linux users.
Configuration
publishers:
- type: aur
package: myapp-bin
Options
| Option | Description | Default |
|---|---|---|
package |
AUR package name | {project}-bin |
maintainer |
Maintainer name | From git config |
description |
Package description | From project |
license |
License identifier | Auto-detected |
depends |
Runtime dependencies | [] |
optdepends |
Optional dependencies | [] |
Examples
Basic Package
publishers:
- type: aur
package: core-bin
With Dependencies
publishers:
- type: aur
package: core-bin
depends:
- git
- docker
optdepends:
- "podman: alternative container runtime"
Environment Variables
| Variable | Description |
|---|---|
AUR_SSH_KEY |
SSH private key for AUR push (required) |
Setup
-
Create an AUR account at https://aur.archlinux.org
-
Add your SSH public key to your AUR account
-
Create the initial package:
git clone ssh://aur@aur.archlinux.org/myapp-bin.git -
After publishing, users install with:
yay -S myapp-bin # or paru -S myapp-bin
Generated PKGBUILD
# Maintainer: Your Name <email@example.com>
pkgname=myapp-bin
pkgver=1.2.3
pkgrel=1
pkgdesc="CLI for building and deploying applications"
arch=('x86_64' 'aarch64')
url="https://github.com/org/myapp"
license=('MIT')
depends=('glibc')
source_x86_64=("${url}/releases/download/v${pkgver}/myapp_linux_amd64.tar.gz")
source_aarch64=("${url}/releases/download/v${pkgver}/myapp_linux_arm64.tar.gz")
sha256sums_x86_64=('abc123...')
sha256sums_aarch64=('def456...')
package() {
install -Dm755 myapp "${pkgdir}/usr/bin/myapp"
}