AUR-template icon indicating copy to clipboard operation
AUR-template copied to clipboard

Manage AUR packages in a GitHub repository, with CI tests and auto-publish :rocket:

AUR-template

Example

Manage AUR packages in a GitHub repository, with:

  • CI tests to build the packages in a clean environment, on every push, and also scheduled.
  • Auto publish to AUR after CI tests are passed.
  • Upload the packages built in the CI tests to Artifacts.
  • Scripts to add a new package/update a package.
  • Auto-generated .SRCINFO.
  • Warnings provided by namcap in the GitHub Actions runs.

Requirements

The following packages are required in order to use the *.sh tools:

sudo pacman -S --needed pacman-contrib fzf bat exa

Get Started

  1. Clone this repository.
  2. Change the maintainer info in config.
  3. Remove the example directory.
  4. Remove things in README except for the Template section.
  5. On GitHub, set the secrets.

To add/update a package, modify it in this repository, and push. All other things will be managed by GitHub Actions.

Template

This repository is based on ouuan/AUR-template.