Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=6bd1328111c105d33d7522afbfa17274a2dfd50f

commit 6bd1328111c105d33d7522afbfa17274a2dfd50f
Author: Michel Hermier <[email protected]>
Date:   Thu Nov 22 18:39:12 2012 +0100

scripts/makepkg

* Now that _P_package_names contains only valid on your arch names,
pkg_foreach can be used to create the packages.

diff --git a/scripts/makepkg b/scripts/makepkg
index e80691c..1d87691 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -2011,17 +2011,7 @@ else
buildtype="chroot"
fi

-create_pkg $pkgname
-if [ ! -z "$subpkgs" ]; then
-       for subpkg in "${subpkgs[@]}"
-       do
-               unset pkgdesc license replaces groups depends rodepends removes 
conflicts provides backup install
-               unset options pkgdesc_localized archs
-               if in_array $CARCH ${_P_package_archs["$subpkg"]}; then
-                       create_pkg $subpkg
-               fi
-       done
-fi
+pkg_foreach create_pkg

cd $startdir
if [ "$CLEANUP" = "1" ]; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to