Use GitHub Actions for building and packaging a few AUR packages and deploy them to GitHub Releases so it can be used as a repository in Arch Linux. Based on djpohly/PKGBUILD.
To use as custom repository in Arch Linux, add to file /etc/pacman.conf
:
[ajacocks]
SigLevel = Optional TrustAll
Server = https://github.com/ajacocks/pkgbuilds/releases/download/repository
To build AUR packages of your own selection, fork this repository. The master branch contains most of the build actions.
- Fork this GitHub repository.
- Add Secrets (Pick one)
-
- Set REPO_TOKEN with a private token
-
- Set ENCRYPTION_KEY for actions and dependabot
- Change config.json
- Optional: create custom keyring package (Feel free to use mine as a reference)
- Add git submodule
- Each time dependabot finds a submodule update, the package will be built and uploaded, and the repository updated.
{
"enc_gpg": "key.gpg.enc",
"pub_gpg": "public.gpg",
"name": "GitHub Action",
"email": "github-action@users.noreply.github.com",
"repo_name": "${{ github.repository_owner }}"
}