[pacman-dev] [PATCH v2 1/2] PKGBUILD.5.txt: Add note about functions starting in $srcdir

Allan McRae allan at archlinux.org
Tue Mar 3 05:01:20 UTC 2015


On 27/02/15 09:54, Johannes Löthberg wrote:
> Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
> ---
> Remove the 'the' before $srcdir as requested by bluewind
>  doc/PKGBUILD.5.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
> index 10980ab..86bf63a 100644
> --- a/doc/PKGBUILD.5.txt
> +++ b/doc/PKGBUILD.5.txt
> @@ -374,6 +374,9 @@ variables for use during the build and install process:
>  *srcdir*::
>  	This contains the directory where makepkg extracts, or copies, all source
>  	files.
> ++
> +All of the above defined packaging functions in PKGBUILDs are run from inside
> +`$srcdir`
>  

That does not read well to me.  How about:

All of the packaging functions defined above are run starting inside $srcdir

>  *pkgdir*::
>  	This contains the directory where makepkg bundles the installed package.
> 


More information about the pacman-dev mailing list