diff options
author | Allan McRae <allan@archlinux.org> | 2009-10-25 05:33:47 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-11-16 02:29:24 +0100 |
commit | 9c34dfd908480baed06bb2e618d8899fb8728dbd (patch) | |
tree | e8b28d82b34abb5cd149e544b702586ed483f51b /lib/libalpm/util.c | |
parent | c2999619d2af0c4fa3cbee13a4f12d95c6ab059e (diff) | |
download | pacman-9c34dfd908480baed06bb2e618d8899fb8728dbd.tar.gz pacman-9c34dfd908480baed06bb2e618d8899fb8728dbd.tar.xz |
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 <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions