summaryrefslogtreecommitdiffstats
path: root/doc/makepkg.8.txt
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-05-25 23:46:37 +0200
committerAllan McRae <allan@archlinux.org>2015-06-20 09:32:57 +0200
commitaa9aa343cbb391ccc2c2c1a3917f37a98e47105e (patch)
tree1e4b93ad172986cda9acd1e07be029282793d6b4 /doc/makepkg.8.txt
parent2bed2090fbf9777f60bdc33eb44daf94c8c2a973 (diff)
downloadpacman-aa9aa343cbb391ccc2c2c1a3917f37a98e47105e.tar.gz
pacman-aa9aa343cbb391ccc2c2c1a3917f37a98e47105e.tar.xz
makepkg: Add flag for printing SRCINFO to stdout
This commit adds a makepkg option to generate and print the SRCINFO file for a PKGBUILD, required by the new AUR, to stdout. AUR 4.0 will use Git instead of source tarballs for uploading packages, so making makepkg capable of printing the SRCINFO would simplify package management, instead of having to extract it from a source tarball. It is also useful for scripting other things, so that instead of having to parse PKGBUILDs, one can make makepkg generate the SRCINFO and then you can parse that instead, which is much simpler and less error-prone. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/makepkg.8.txt')
-rw-r--r--doc/makepkg.8.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
index 41df30ed..4323fd33 100644
--- a/doc/makepkg.8.txt
+++ b/doc/makepkg.8.txt
@@ -207,6 +207,9 @@ Options
List the packages that would be produced without building. Listed
package names do not include PKGEXT.
+*\--printsrcinfo*::
+ Generate and print the SRCINFO file to stdout.
+
Additional Features
-------------------
makepkg supports building development versions of packages without having to