From 37a89e2fac704babbe3badf0d9df0d41ec622f6f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 3 Jan 2017 15:10:19 -0500 Subject: Document the new query parameter for VCS sources Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- doc/PKGBUILD.5.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 4c1ef4bd..18bc2a19 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -464,12 +464,12 @@ Using VCS Sources[[VCS]] ------------------------ Building a developmental version of a package using sources from a version control system (VCS) is enabled by specifying the source in the form -`source=('directory::url#fragment')`. Currently makepkg supports the Bazaar, Git, -Subversion, and Mercurial version control systems. For other version control -systems, manual cloning of upstream repositories must be done in the `prepare()` -function. +`source=('directory::url#fragment?query')`. Currently makepkg supports the +Bazaar, Git, Subversion, and Mercurial version control systems. For other +version control systems, manual cloning of upstream repositories must be done +in the `prepare()` function. -The source URL is divided into three components: +The source URL is divided into four components: *directory*:: (optional) Specifies an alternate directory name for makepkg to download @@ -501,6 +501,11 @@ The source URL is divided into three components: *svn*;; revision +*query*:: + (optional) Allows specifying whether a VCS checkout should be checked for + PGP-signed revisions. The source line should have the format + `source=(url#fragment?signed)` or `source=(url?signed#fragment)`. Currently + only supported by Git. Example ------- -- cgit v1.2.3-70-g09d2