pkg-get/doc/pkg-repgen.8.txt

47 lines
1.4 KiB
Plaintext

pkg-repgen(8)
NAME
pkg-repgen - generate a package repository for pkg-get
SYNOPSIS
pkg-repgen [options] [directory [package1...packageN]]
DESCRIPTION
pkg-repgen generates files needed by a pkg-get(8) package
repository. It also generates a html index of the packages.
USAGE
Run pkg-repgen <dir> to generate the whole repository of packages
found in <dir>. Or to accomplish the same, cd <dir> && pkg-repgen.
Any additional arguments after <dir> will be interpreted as the
specific package names you want updated (this is especially useful
with large repositories). Even when individual packages are specified,
the entire directory is still processed to collect all the readmes
and {pre,post}-install scripts.
OPTIONS
--header=FILE
insert FILE at the beginning of the html index
--title=title
use the specified title for the index page
--prtdir=DIR
use alternative prtdir for prt-get commands
EXAMPLES
pkg-repgen
pkg-repgen /home/sip/packages
pkg-repgen . qt6-base qt6-tools
AUTHORS
Simone Rota <sip@varlock.com>, John McQuah <jmcquah@disroot.org>
index generation code adapted from Jukka Heino's portspage
SEE ALSO
pkg-get(8), prt-get(8)
September 12, 2023 pkg-repgen(8)