Build a custom pacman repository from a collection of PKGBUILD directories.
⚠ WARNING: This program is meant to be used within a docker container.
Manifest file is always named build-pacman-repo.yaml
. It contains instruction to build a pacman repository.
```sh build-pacman-repo print-config \ --repository $repodir/$reponame.db.tar.gz \ --container build-directories \ --with-install-missing-dependencies true \
build-pacman-repo.yaml ```
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.
/usr/bin/makepkg
with one that allows running as rootThe normal makepkg
script does not allow running as root. While it may make sense in a user's machine, it inconveniences a Docker container.
sh
build-pacman-repo patch-makepkg --replace
sh
build-pacman-repo build
Note: Make sure that build-pacman-repo.yaml
file exists in current working directory.
sh
build-pacman-repo help
sh
build-pacman-repo --help
sh
build-pacman-repo help $command
sh
build-pacman-repo $command --help
pacman-repo-builder/action let you run build-pacman-repo
on an Arch Linux container.