[pacman-dev] /etc/makepkg.local

Allan McRae allan at archlinux.org
Sat Jul 26 11:32:41 EDT 2008


Mark Constable wrote:
> Just a suggestion. If this was the last line in /etc/makepkg.conf
> then it would allow anyone to append functions that could be used
> inside a PKGBUILD. Potentionally good bang for buck for one extra
> line added to the official makepkg package.
>
>  [ -f /etc/makepkg.local ] && source /etc/makepkg.local
>
> --markc
>   

And if everyone has different functions in makepkg.local then PKGBUILDs 
become non-transferable across users.  Bad!

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.

Allan






More information about the pacman-dev mailing list