[pacman-dev] [PATCH] makepkg: Add --verifysource to only download/verify source files

Allan McRae allan at archlinux.org
Sat Mar 9 17:42:01 EST 2013


On 23/02/13 22:08, Olivier Brunel wrote:
> Because --noextract also implies to not download/verify source files, it wasn't
> possible to simply do that, without either extracting and/or building.
> (Note: --verifysource takes precedence over --noextract)
> 
> Signed-off-by: Olivier Brunel <i.am.jack.mail at gmail.com>

Signed-off-by: Allan

> ---
>  doc/makepkg.8.txt     | 5 +++++
>  scripts/makepkg.sh.in | 8 ++++++--
>  2 files changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
> index 498c79b..87d266b 100644
> --- a/doc/makepkg.8.txt
> +++ b/doc/makepkg.8.txt
> @@ -65,6 +65,11 @@ Options
>  	then make a package out of the result. Keep in mind that creating a
>  	patch may be a better solution to allow others to use your PKGBUILD.
>  
> +*\--verifysource*::
> +	For each source file in the source array of PKGBUILD, download the file
> +	if required and perform the integrity checks. No extraction or build is
> +	performed.

I added a clarification here that it is "Useful for performing
subsequent offline builds.".



More information about the pacman-dev mailing list