Collection of pacman-related tools.
This project includes the following tools:
-
pacrepo: Run pacman against a single repo
-
addpkg: Add a package to a repo
-
rmpkg: Remove a package from a repo
-
pacpatch: Patches config files after pacman update
The config file is at /etc/pacrepo.conf
. You can define the following
options within it:
- REPOS=( [name]=/path [name2]=host:/path … )
-
A list of repositories for
addpkg
andrmpkg
to manage. name is the name of the repository inCONFIG
, /path is the full path to the repository on the filesystem, and host (optional) is the ip address or host name of the system the repository lives on.When a repository is configured with a host,
addpkg
andrmpkg
will use multiple invocations ofssh
andscp
to manipulate the repository, so you will probably want to use something like ssh-agent or GSSAPI authentication to avoid entering your password multiple times.Default:
REPOS=()
- REPO=<repo>
-
The repository that
addpkg
,rmpkg
, andpacrepo
should use by default.Default:
REPO=custom
- CONFIG=/path/to/pacman.conf
-
The path to the configuration file containing the options and repositories that
pacrepo
should use.Default:
CONFIG=/etc/pacman.conf