1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 03:54:59 -05:00

makepkg: write makedepends into .PKGINFO

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>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2012-05-19 20:38:12 +10:00 committed by Dan McGee
parent 7eb6dc2a9c
commit 18e0a97209

View File

@ -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