[pacman-dev] [PATCH v3 3/3] Document the new query parameter for VCS sources

Eli Schwartz eschwartz93 at gmail.com
Tue Jan 3 20:10:19 UTC 2017


Signed-off-by: Eli Schwartz <eschwartz93 at gmail.com>
---
 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 08ef3e4d..da052b0b 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
 -------
-- 
2.11.0


More information about the pacman-dev mailing list