19 May
2012
19 May
'12
11:01 a.m.
Currently there is no way to access the makedepends for a package apart from parsing its PKGBUILD. Put these into the .PKGINFO file with the idea of making them available in the repo dbs so that automated build tools can readily determine build order. Signed-off-by: Allan McRae <allan@archlinux.org> --- scripts/makepkg.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 28d9073..8d018c0 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1276,6 +1276,8 @@ write_pkginfo() { fi done + [[ $makedepends ]] && printf "makedepend = %s\n" "${makedepends[@]}" + for it in "${packaging_options[@]}"; do check_option "$it" "y" case $? in -- 1.7.10.2