Skip to content
/ pkgbuilds Public template

Archlinux Custom Repo using github releases. An active work in progress

Notifications You must be signed in to change notification settings

jckimble/pkgbuilds

Repository files navigation

PKGBUILDs

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.

Using as a pacman repository

To use as custom repository in Arch Linux, add to file /etc/pacman.conf:

[jckimble]
SigLevel = Optional TrustAll
Server = https://github.com/jckimble/pkgbuilds/releases/download/repository

Customizing

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.

config.json default values (all values are optional)

{
    "enc_gpg": "key.gpg.enc",
    "pub_gpg": "public.gpg",
    "name": "GitHub Action",
    "email": "[email protected]",
    "repo_name": "${{ github.repository_owner }}"
}