[arch-general] PKGBUILD weirdness
Jan Alexander Steffens
jan.steffens at gmail.com
Thu Apr 11 08:20:09 EDT 2013
On Thu, Apr 11, 2013 at 1:16 PM, Robbie Smith <zoqaeski at gmail.com> wrote:
> I’ve been working on my own fork of luakit, building and installing it to
> test changes, and I’ve come across some weirdness in the PKGBUILD. The
> original luakit-git PKGBUILD has a set of options to pass to make to (for
> example) enable luajit.
> I rewrote it to conform with pacman/makepkg 4.1 vcs standards, and for
> some reason, if I use an auxiliary variable to store these options, the
> packaging fails. Can anyone shed some light on why this might be so?
>  https://aur.archlinux.org/packages/lu/luakit-git/PKGBUILD
>  https://github.com/luakit-crowd/luakit/blob/develop/extras/PKGBUILD
Because $pkgdir only exists in the package() function. Using it
earlier won't work.
More information about the arch-general