An experiment to create an Arch custom repository, building packages from the AUR and hosting them via GitHub Releases.
It uses Travis Cron Jobs to re-build these packages every day.
To use this "repository", include the following in your /etc/pacman.conf
:
[github]
SigLevel = Optional TrustAll
Server = https://github.com/ajaybhatia/arch-on-github/releases/download/latest
To build the base Docker image used to build our packages and interact with GitHub's REST endpoints:
make build-image
To then build our repository, storing the contents in ./repo
:
make repo
To add or delete packages, simply modify packages.txt
.
In our .travis.yml
file, we then delete both the latest
release and remote tag and then re-deploy.