[pacman-dev] The great VCS packages overhaul of 2015

Matthew Monaco dgbaley27 at 0x01b.net
Sat Mar 17 15:47:56 EDT 2012


On 03/17/2012 01:26 PM, Thomas Bächler wrote:
> Am 17.03.2012 20:05, schrieb Matthew Monaco:
>> Is there any reason why devel_update() actually needs to do an in-place sed? I
>> replaced it with an eval and its working fine.
>>
>> The function now looks like:
>>
>>   if [[ -n $newpkgver ]]; then
>>     if [[ $newpkgver != "$pkgver" ]]; then
>>       eval $(sed -e "s/^pkgver=[^ ]*/pkgver=$newpkgver/" \
>>                  -e "s/^pkgrel=[^ ]*/pkgrel=1/" \
>>                  "$BUILDFILE")
>>     fi
>>   fi
> 
> As discussed somewhere else in this thread, the devel build shouldn't
> modify the PKGBUILD at all.
> 

I know, but it does. It's a gripe of mine. What I'm saying is this appears to
work *now* as a drop in change.

In the meantime I'm playing with Xyne's great idea of plugins.


More information about the pacman-dev mailing list