Index: scripts/makepkg =================================================================== RCS file: /home/cvs-pacman/pacman-lib/scripts/makepkg,v retrieving revision 1.56 diff -u -r1.56 makepkg --- scripts/makepkg 3 Mar 2007 18:38:57 -0000 1.56 +++ scripts/makepkg 9 Mar 2007 19:18:41 -0000 @@ -517,6 +517,14 @@ # done fi +metascripts=$(find $(dirname $BUILDSCRIPT) -name "*meta.sh") +if [[ -z $metascripts ]]; then + metascripts="/dev/null" # workaround if no metascripts available +fi + +for metascript in ${metascripts};do + +source $metascript source $BUILDSCRIPT # check for no-no's in the build script @@ -1039,6 +1047,8 @@ installpackage +done + exit 0 # vim: set ts=2 sw=2 noet: