[arch-general] makepkg creates symlink to the package file

Attila vodoo0904 at sonnenkinder.org
Fri Jun 25 01:12:07 EDT 2010


At Donnerstag, 24. Juni 2010 20:06 Andres P wrote:

> ...but that's the whole point of bash/zsh completion. Do you put links to 
$HOME
> in /etc or use CDPATH? I mean, modern shells have facilities so let's use 
them.

You be right and if you look at my other posting my favorite is that pacman can 
run namcap right after a successfull packaging without the need of a symlink. 
The extra advantage in this case could be that you have all in one logfile ... 
but before someone else said it: it is very easy to write your own logfile.

> Joining the list of people that think these links are unnecesary.

I'm only not on this list because i found an advantage for me and if this 
symlink helps the devs than it is okay. And in the case of this aur builder 
scripts it shouldn't be hard to integrate the deleting of the symlink.

Perhaps it could be helpfull that the pacman devs give the information which 
line is to be comment out in makepkg if you don't wants it and all is fine.-)

And here is my very simple suggestion from user to user:

LOGFILE="build-$(date --iso-8601).log"
/usr/bin/makepkg -c 2>&1 | tee $LOGFILE
/usr/bin/namcap *.pkg.tar.xz 2>&1 | tee -a $LOGFILE
rm -v *.pkg.tar.xz  2>&1 | tee -a $LOGFILE

There is room to optimize it with test statements and so on.-)

See you, Attila




More information about the arch-general mailing list