OpenParable
Skip to content
← Back to skills

Aur Publish

Apps & Automation
aur-publish

Aur Publish is an Agent Skill for apps & automation published in the peteonrails/voxtype repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Publish voxtype to AUR. Updates PKGBUILD, generates checksums, and pushes to AUR. Use after a GitHub release is published.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/peteonrails/voxtype/blob/HEAD/.claude/skills/aur-publish/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/aur-publish, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

AUR Publish

Update and publish voxtype packages to the Arch User Repository.

Packages

PackageTypeLocation
voxtypeSource buildpackaging/arch/
voxtype-binPre-built binariespackaging/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 pkgver to new version
  • Reset pkgrel to 1
  • Update sha256sums array 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)
  • pkgver updated in PKGBUILD
  • pkgrel reset to 1
  • SHA256 checksums updated
  • .SRCINFO regenerated
  • Local makepkg -si succeeds
  • Committed with signed commit
  • Pushed to AUR