aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/cpt-build.110
-rw-r--r--man/cpt-checksum.19
-rw-r--r--man/cpt-contrib.1116
-rw-r--r--man/cpt-download.18
4 files changed, 20 insertions, 123 deletions
diff --git a/man/cpt-build.1 b/man/cpt-build.1
index d7d89e0..79b24c6 100644
--- a/man/cpt-build.1
+++ b/man/cpt-build.1
@@ -10,8 +10,14 @@
.Op Fl hv
.Op Ar package...
.Sh DESCRIPTION
-cpt-build will build given packages and their dependencies. If multiple packages
-are specified, it will ask to install the packages as well.
+.Nm
+will build given packages and their dependencies. If multiple packages
+are specified, it will ask to install the packages as well. If no
+.Ar package
+is given,
+.Nm
+will attempt to build a package assuming the working directory is the requested
+package.
.Pp
The options are as follows:
.Bl -tag -width 13n
diff --git a/man/cpt-checksum.1 b/man/cpt-checksum.1
index eb684df..4c637eb 100644
--- a/man/cpt-checksum.1
+++ b/man/cpt-checksum.1
@@ -7,8 +7,13 @@
.Nm
.Op Ar package...
.Sh DESCRIPTION
-cpt-checksum lints a package, downloads the sources, and creates a checksum file
-including the SHA256 digests of the sources.
+.Nm
+lints a package, downloads the sources, and creates a checksum file
+including the SHA256 digests of the sources. If no
+.Ar package
+is specified,
+.Nm
+will generate checksums assuming the working directory as the package.
.Sh AUTHOR
.An Cem Keylan Aq Mt cem@ckyln.com
.Sh LICENSE
diff --git a/man/cpt-contrib.1 b/man/cpt-contrib.1
deleted file mode 100644
index ffc5e54..0000000
--- a/man/cpt-contrib.1
+++ /dev/null
@@ -1,116 +0,0 @@
-.TH CPT-CONTRIB 1 2020-04-04 "CARBS LINUX" "General Commands Manual"
-.SH NAME
-cpt utilities
-.SH DESCRIPTION
-This manual page is not for a single program, but for multiple
-utilities. Programs are explained in their own sections. They
-are listed alphabetically.
-.SH CPT-CAT
-.B cpt-cat
-<pkg> [file] [file]
-
-Concatanates a package's files inside the system database. If no file is
-specified, it looks for \fBbuild\fR, \fBdepends\fR, \fBsources\fR, and
-\fBversion\fR.
-.SH CPT-CHBUILD
-.B cpt-chbuild
-
-cpt-chbuild, creates a temporary rootfs, and chroots into it.
-
-If it doesn't already exist, cpt-chbuild downloads the rootfs tarball to
-your cache directory and extracts it into a \fBcarbs-chroot\fR directory.
-
-It then copies the chroot to a temporary directory, and runs cpt-chroot
-to it. It removes the temporary chroot after the user exits.
-.SH CPT-CHROOT
-.B cpt-chroot
-<directory>
-
-Mounts the required devices to the given directory, copies /etc/resolv.conf
-from host, and chroots into the given directory. Cleans up after exit.
-.SH CPT-DEPENDS
-.B cpt-depends
-<pkg>
-
-Checks the dependencies of an installed package.
-.SH CPT-EXPORT
-.B cpt-export
-<pkg>
-
-Exports a package tarball of an installed package.
-.SH CPT-FORK
-.B cpt-fork
-<pkg>
-
-Copies the repository directory of the given package to the current working
-directory.
-.SH CPT-LINK
-.B cpt-link
-[file] [file]
-
-Links files from a package in the repository. It looks for the package by
-the directory name, but this can be overriden by getting a PKG environment
-value.
-
-.IP \fBExample:\fR
-.nf
-$ cpt-fork git
-forked package to /home/cem/.local/repositories/overrides/git
-$ cd git
-$ cpt-link checksums version sources
-linked /home/cem/.local/repositories/main/core/git/version to /home/cem/.local/repositories/overrides/git/version
-linked /home/cem/.local/repositories/main/core/git/sources to /home/cem/.local/repositories/overrides/git/sources
-linked /home/cem/.local/repositories/main/core/git/checksums to /home/cem/.local/repositories/overrides/git/checksums
-.fi
-.PP
-.SH CPT-MANIFEST
-.B cpt-manifest
-<pkg>
-
-Prints the manifest file.
-.SH CPT-MANIFEST-TREE
-.B cpt-manifest-tree
-<pkg>
-
-Prints the manifest file in a tree view.
-.SH CPT-NEW
-.B cpt-new
-<name> [version] [sources]
-
-Creates a boilerplate CPT package.
-.SH CPT-OUTDATED
-.B cpt-outdated
-
-Checks \fIrepology.org\fR to see if any installed packages are outdated. This
-can be used to check if personal packages are outdated.
-.SH CPT-OWNS
-.B cpt-owns
-<file>
-
-Checks which package has installed the given file.
-.SH CPT-REPODEPENDS
-.B cpt-repodepends
-<pkg>
-
-Prints the dependencies of the given package as they are defined in the repository.
-.SH CPT-RESET
-.B cpt-reset
-
-Removes all packages except the base packages.
-.SH CPT-REVDEPENDS
-.B cpt-revdepends
-<pkg>
-
-Prints the packages that depend on the given package. (Reverse dependencies)
-.SH CPT-SIZE
-.B cpt-size
-<pkg>
-
-Prints the given package's size, and its individual files.
-.SH CPT-WHICH
-.B cpt-which
-<pkg>
-
-A \fIwhich\fR-like utility for CPT packages.
-.SH SEE ALSO
-cpt(1)
diff --git a/man/cpt-download.1 b/man/cpt-download.1
index 660ba8c..eb2f106 100644
--- a/man/cpt-download.1
+++ b/man/cpt-download.1
@@ -5,10 +5,12 @@
.Nd download sources for given packages
.Sh SYNOPSIS
.Nm
-.Op Ar pkg...
+.Op Ar package...
.Sh DESCRIPTION
-cpt-download downloads the sources of the given packages. If no arguments are
-specified, it will assume that the current directory is the package.
+.Nm
+downloads the sources of the given packages. If no
+.Ar package
+is specified, it will assume that the current directory is the package.
.Sh AUTHOR
.An Cem Keylan Aq Mt cem@ckyln.com
.Sh LICENSE