[pacman-dev] makepkg developmental version

Yun Zheng Hu yunzheng.hu at gmail.com
Wed Dec 24 11:32:21 EST 2008


On Wed, Dec 24, 2008 at 1:35 AM, Allan McRae <allan at archlinux.org> wrote:
>
> I suppose... but in the meantime, here is a really bad PKGBUILD that will
> pull it from git: http://dev.archlinux.org/~allan/PKGBUILD
>

Thanks, got the PKGBUILD working on Mac OS X with some small modifications.

Found a bug with the -p <buildscript> flag, if you set this option it
will get overriden in makepkg when sourcing the config file, on line
1443:

# Source the config file; fail if it is not found
if [ -r "$MAKEPKG_CONF" ]; then
	source "$MAKEPKG_CONF"

Another small bug, on line 1500, if the BUILDSCRIPT filename contains
whitespace it will fail:
if [ -z $BUILDSCRIPT ]; then

should be quoted like this:
if [ -z "$BUILDSCRIPT" ]; then


More information about the pacman-dev mailing list