26 Jul
2008
26 Jul
'08
10:32 a.m.
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