pkg-get/doc/pkg-repgen.8

46 lines
1.4 KiB
Groff

.TH pkg-repgen 8 "September 12, 2023" "" ""
.SH NAME
\fBpkg\-repgen \fP- generate a package repository for pkg-get
\fB
.SH SYNOPSIS
.nf
.fam C
\fBpkg\-repgen\fP [options] [directory [package1\.\.\.packageN]]
.fam T
.fi
.SH DESCRIPTION
\fBpkg\-repgen\fP generates files needed by a \fBpkg\-get\fP(8) package
repository. It also generates a html index of the packages.
.SH USAGE
Run \fBpkg\-repgen\fP \fI<dir>\fP to generate the whole repository of packages
found in \fI<dir>\fP. Or to accomplish the same, \fBcd\fP \fI<dir>\fP \fB&&
pkg\-repgen\fP. Any additional arguments after \fI<dir>\fP 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.
.SH OPTIONS
.TP
.B
\fB\-\-header\fP=FILE
insert FILE at the beginning of the html index
.TP
.B
\fB\-\-title\fP=title
use the specified title for the index page
.TP
.B
\fB\-\-prtdir\fP=DIR
use alternative prtdir for prt-get commands
.SH EXAMPLES
\fBpkg\-repgen\fP
.PP
\fBpkg\-repgen\fP /home/sip/packages
.PP
\fBpkg\-repgen\fP . qt6-base qt6-tools
.SH AUTHORS
Simone Rota <sip@varlock.com>, John McQuah <jmcquah@disroot.org>
index generation code adapted from Jukka Heino's portspage
.SH SEE ALSO
\fBpkg\-get\fP(8), \fBprt\-get\fP(8)