From aa9aa343cbb391ccc2c2c1a3917f37a98e47105e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 25 May 2015 23:46:37 +0200 Subject: 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 --- doc/makepkg.8.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3-24-g4f1b