On 7/5/19 4:44 PM, Mario Blättermann wrote:
Hello,
I stumbled upon the following sentence in pacman.conf.5:
repo-add /home/pkgs/custom.db.tar.gz /home/pkgs/*.pkg.tar.gz
The above command will generate a compressed database named /home/pkgs/custom.db.tar.gz. Note that the database must be of the form defined in the configuration file and {ext} is a valid compression type as documented in repo-add(8).
Although the example database name has the static extension ».gz« (which is currently used in Archlinux' Pacman), the following explanation mentions {ext} as a variable for the file extension. If this targets to use cases of Pacman in other distributions which possibly use a different extension, then the man page should explain this more detailed.
It has nothing to do with other distributions. You can create a custom repository for personal use using whichever extension you like, too. If you truly wish to know how repo-add works, though, you should be reading the repo-add.8 man page. pacman.conf.5 merely mentions one example use and explicitly tells you which other man page you need to read. -- Eli Schwartz Bug Wrangler and Trusted User