/aur-packages-template

Maintain your AUR packages automatically using Renovate

MIT LicenseMIT

Arch User Repository (AUR) Packages Repository Template

This repository is a template for maintaining Arch User Repository (AUR) packages automatically using Renovate. Check out my AUR packages repository to see it working.

How it works

Check out the breakdown on my blog for a step-by-step walkthrough. The short version is:

  1. Renovate will open PRs to update the pkgver
  2. GitHub Actions will run updpkgsums and makepkg --printsrcinfo > .SRCINFO for each PR
  3. When a PR is merged GitHub Actions will publish the package to the AUR (if you've configured the AUR_USERNAME, AUR_EMAIL and AUR_SSH_PRIVATE_KEY secrets).

Adding a new package

  1. Add a new directory with the package name
  2. Manually create your PKGBUILD and .SRCINFO
  3. Add a comment after pkgver with the Renovate datasource and package name
pkgver=1.2.3 # renovate: datasource=github-tags depName=git/git

License

All code in this repository is licensed under the MIT license. See the license property in each PKGBUILD for the license under which each package is distributed.