[pacman-dev] /etc/makepkg.local

Mark Constable markc at renta.net
Sat Jul 26 12:29:11 EDT 2008


On 2008-07-27, Allan McRae wrote:
> >  [ -f /etc/makepkg.local ] && source /etc/makepkg.local
> 
> And if everyone has different functions in makepkg.local then PKGBUILDs 
> become non-transferable across users.  Bad!

That is vaguely possible if someone tried hard enough to write
non-conforming functions but the main idea is to assist those that
want their own *local* hooks and would prefer not to have to patch
makepkg.conf.

> A "better" idea, but still not necessarily a good one, is to make a 
> library that can be sourced:
> http://bugs.archlinux.org/task/10375
> http://bugs.archlinux.org/task/1588
> http://bugs.archlinux.org/task/1571
> 
> Comment in the top bug report if you have ideas for useful functions.

But that depends on someone else accepting proposed functions and
kind of defeats the purpose of allowing someone to use custom
*local* functions for their own reasons.

--markc




More information about the pacman-dev mailing list