[arch-general] Pacman trigger

Nilesh Govindarajan lists at itech7.com
Sun Feb 7 08:04:05 EST 2010


On 02/06/2010 07:59 PM, Jim Pryor wrote:
> On Sat, Feb 06, 2010 at 11:36:59PM +1000, Allan McRae wrote:
>> On 06/02/10 23:31, Nilesh Govindarajan wrote:
>>> Is there some app that will do some actions on updating some software ?
>>>
>>> Like for example, I want that in
>>> /usr/lib/firefox-<version>/defaults/preferences/firefox.js user agent is
>>> set to Firefox/<version>  instead of its brand name ?
>>>
>>> Or copy the previous version of kernel to /boot/stable before update ?
>>
>> Not yet.  There are some plans
>> (http://wiki.archlinux.org/index.php/User:Allan/Pacman_Hooks) but
>> that has not progressed much further than the wiki page...
>
> The customizepkg-new package doesn't yet handle .install files. But it
> does enable you to tweak a PKGBUILD, add extra files to the source
> array, and so on. When used with a pacman-wrapper that knows about it,
> such as yaourt, every time you try to install a package for which you've
> scripted these mods, it will be built from source with your mods.
>
> Once the script is expanded to handle .install files---which would not
> be hard---this will do what you want. The downside is you'd have to
> build all such packages from source yourself. A cooperating pacman
> wrapper will make that happen automatically, but you might well decide
> it's still more trouble than you're looking for.
>
> (I submitted a bunch of changes to customizepkg-new a few months ago but
> I don't think they've been folded in yet.)
>

That's same as building from ABS. OK compiling has self advantages like 
you can compile with -O3 flag to improve performance, but it takes a lot 
of time and big sized source code downloads.

-- 
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com


More information about the arch-general mailing list