[pacman-dev] [PATCH] makepkg: Add fallback to package function
makepkg looks for a package() function when building a single package
but package_$pkgname() style package functions when building a split
package. This patch allows the use of a package_$pkgname() function
when building a single package for consistency. This is achieved by
having makepkg consider a non-split package with a package_$pkgname()
function as a split package (creating just the one package).
Fixes FS#16622.
Signed-off-by: Allan McRae
On Sat, Oct 24, 2009 at 11:41 PM, Allan McRae
makepkg looks for a package() function when building a single package but package_$pkgname() style package functions when building a split package. This patch allows the use of a package_$pkgname() function when building a single package for consistency. This is achieved by having makepkg consider a non-split package with a package_$pkgname() function as a split package (creating just the one package).
Fixes FS#16622.
Signed-off-by: Allan McRae
---
No objections to this from me; I'll wait to merge any of this stuff until post [[ (( conversion though. -Dan
participants (2)
-
Allan McRae
-
Dan McGee