diff options
author | Allan McRae <allan@archlinux.org> | 2012-05-19 12:38:12 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-21 02:00:42 +0200 |
commit | 18e0a972094d7c4bc874ba87ce3be6b2b308a832 (patch) | |
tree | 6008e080b29fab88d6835de27fc0b8330d0c4e96 /scripts/makepkg.sh.in | |
parent | 7eb6dc2a9c2ecb723b07598b14cd24359004ef9e (diff) | |
download | pacman-18e0a972094d7c4bc874ba87ce3be6b2b308a832.tar.gz pacman-18e0a972094d7c4bc874ba87ce3be6b2b308a832.tar.xz |
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>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 28d9073d..8d018c06 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 |