PacMan Repo Builder
Build a custom pacman repository from a collection of PKGBUILD directories.
Usage
⚠ WARNING: This program is meant to be used within a docker container.
Generate manifest file
Manifest file is always named build-pacman-repo.yaml
. It contains instruction to build a pacman repository.
Note: Replace $repo_dir
with path of your repository directory. This directory would contains all built packages.
Note: Replace $repo_name
with name of your repository file. This file would be fetched by pacman
to check for updates.
Replace /usr/bin/makepkg
with one that allows running as root
The normal makepkg
script does not allow running as root. While it may make sense in a user's machine, it inconveniences a Docker container.
Build a pacman repositories
Note: Make sure that build-pacman-repo.yaml
file exists in current working directory.
Print help message
GitHub Action
pacman-repo-builder/action let you run build-pacman-repo
on an Arch Linux container.