summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2017-01-03 15:10:19 -0500
committerAllan McRae <allan@archlinux.org>2017-01-04 13:59:15 +1000
commit37a89e2fac704babbe3badf0d9df0d41ec622f6f (patch)
tree023b6953cc67573aeb581e88a7e92cd895fd6528
parenteaa82b4d0775252856a4e54a6f2a9ea191cf0b8f (diff)
Document the new query parameter for VCS sources
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--doc/PKGBUILD.5.txt15
1 files 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
-------