1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-09 04:57:59 -05:00

makepkg: Clarify usage instructions for --allsource/--source

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2008-07-30 21:53:02 -05:00
parent fabf7ad6c4
commit 692ea72822
2 changed files with 13 additions and 4 deletions

View File

@ -128,10 +128,18 @@ Options
dependencies are not found, pacman will try to resolve them. If dependencies are not found, pacman will try to resolve them. If
successful, the missing packages will be downloaded and installed. successful, the missing packages will be downloaded and installed.
*\--allsource*::
Do not actually build the package, but build a source-only tarball that
includes all sources, including those that are normally download via
makepkg. This is useful for passing a single tarball to another program
such as a chroot or remote builder. It will also satisfy requirements of
the GPL when distributing binary packages.
*\--source*:: *\--source*::
Do not actually build the package, but build a source-only tarball. This Do not actually build the package, but build a source-only tarball that
is useful for passing a single tarball to another program such as a does not include sources that can be fetched via a download URL. This is
chroot, remote builder, or an AUR upload. useful for passing a single tarball to another program such as a chroot,
remote builder, or a tarball upload.
*\--noconfirm*:: *\--noconfirm*::
(Passed to pacman) Prevent pacman from waiting for user input before (Passed to pacman) Prevent pacman from waiting for user input before

View File

@ -1086,9 +1086,10 @@ usage() {
# fix flyspray feature request #2978 # fix flyspray feature request #2978
echo "$(gettext " -R, --repackage Repackage contents of pkg/ without building")" echo "$(gettext " -R, --repackage Repackage contents of pkg/ without building")"
echo "$(gettext " -s, --syncdeps Install missing dependencies with pacman")" echo "$(gettext " -s, --syncdeps Install missing dependencies with pacman")"
echo "$(gettext " --allsource Generate a source-only tarball including downloaded sources")"
echo "$(gettext " --asroot Allow makepkg to run as root user")" echo "$(gettext " --asroot Allow makepkg to run as root user")"
echo "$(gettext " --holdver Prevent automatic version bumping for development PKGBUILDs")" echo "$(gettext " --holdver Prevent automatic version bumping for development PKGBUILDs")"
echo "$(gettext " --source Do not build package; generate a source-only tarball")" echo "$(gettext " --source Generate a source-only tarball without downloaded sources")"
echo echo
echo "$(gettext "These options can be passed to pacman:")" echo "$(gettext "These options can be passed to pacman:")"
echo echo