aur-publish
This tool automates AUR package distribution by updating files, generating checksums, and pushing repository changes.
Install
mkdir -p .claude/skills/aur-publish && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3680" && unzip -o skill.zip -d .claude/skills/aur-publish && rm skill.zipInstalls to .claude/skills/aur-publish
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Publish voxtype to AUR. Updates PKGBUILD, generates checksums, and pushes to AUR. Use after a GitHub release is published.Key capabilities
- →Update PKGBUILD files
- →Generate SHA256 checksums
- →Regenerate .SRCINFO
- →Push changes to AUR
How it works
It automates the update of package versioning, checksum generation, and metadata synchronization between GitHub releases and the Arch User Repository.
Inputs & outputs
When to use aur-publish
- →Publishing binary updates to AUR
- →Updating checksums for new releases
- →Synchronizing GitHub release with Arch packages
About this skill
AUR Publish
Update and publish voxtype packages to the Arch User Repository.
Packages
| Package | Type | Location |
|---|---|---|
voxtype | Source build | packaging/arch/ |
voxtype-bin | Pre-built binaries | packaging/arch-bin/ |
Prerequisites
- GitHub release already published with binaries
- GPG key configured:
E79F5BAF8CD51A806AA27DBB7DA2709247D75BC6
Workflow for voxtype-bin
1. Generate SHA256 checksums
Download binaries from GitHub release and generate checksums:
VERSION=0.4.14
cd releases/${VERSION}
sha256sum voxtype-${VERSION}-linux-x86_64-avx2
sha256sum voxtype-${VERSION}-linux-x86_64-avx512
sha256sum voxtype-${VERSION}-linux-x86_64-vulkan
2. Update PKGBUILD
Edit packaging/arch-bin/PKGBUILD:
- Update
pkgverto new version - Reset
pkgrelto 1 - Update
sha256sumsarray with new checksums
3. Generate .SRCINFO
cd packaging/arch-bin
makepkg --printsrcinfo > .SRCINFO
4. Test locally
makepkg -si
5. Commit and push to AUR
cd packaging/arch-bin
git add PKGBUILD .SRCINFO
git commit -S -m "Update to ${VERSION}"
git push
Important Rules
Always bump pkgver, never just pkgrel when binaries change.
The download URLs include pkgver:
https://github.com/peteonrails/voxtype/releases/download/v$pkgver/voxtype-$pkgver-linux-x86_64-avx2
If only pkgrel changes, the URL stays the same and AUR helpers cache the old file.
Never re-upload different binaries to an existing GitHub release.
This causes checksum mismatches for users with cached PKGBUILDs.
Checklist
- GitHub release exists with correct binaries
- Binaries verified (version check, instruction validation)
-
pkgverupdated in PKGBUILD -
pkgrelreset to 1 - SHA256 checksums updated
-
.SRCINFOregenerated - Local
makepkg -sisucceeds - Committed with signed commit
- Pushed to AUR
When not to use it
- →When the GitHub release binaries are not yet published
- →When re-uploading different binaries to an existing release
Prerequisites
Limitations
- →Requires manual GPG key configuration
- →Must bump pkgver for binary changes
How it compares
It ensures versioning and checksums are correctly synchronized to prevent AUR helper caching issues.
Compared to similar skills
aur-publish side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| aur-publish (this skill) | 1 | 7mo | Review | Intermediate |
| github-release-management | 4 | 6mo | Review | Advanced |
| macos-spm-app-packaging | 1 | 5mo | Review | Intermediate |
| hex-release | 2 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by peteonrails
View all by peteonrails →You might also like
github-release-management
ruvnet
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management
macos-spm-app-packaging
Dimillian
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project. Use when you need a from-scratch macOS app layout, SwiftPM targets/resources, a custom .app bundle assembly script, or signing/notarization/appcast steps outside Xcode.
hex-release
agentjido
Guides interactive Hex package release. Bumps version in mix.exs, updates CHANGELOG with commits, creates git tag. Triggers on: release, hex publish, bump version, new release.
agent-release-swarm
ruvnet
Agent skill for release-swarm - invoke with $agent-release-swarm
magerun-release
netz98
Technical release process for n98-magerun2
release
ziggy42
Use this skill when the user wants to cut a new release.