[pacman-dev] [arch] Plans for switching to new package naming format (name-ver-rel -> name-ver-rel-arch)

eliott eliott at cactuswax.net
Wed Jun 13 20:58:34 EDT 2007


well..you can cheat with option 1, due to the fact that tar files are
just files stuck together, and if the file is 'well packed'.

If the file you are looking for (.pkginfo) appears early in the tar..

head -n100 kernel26-2.6.21.3-2.pkg.tar.gz | tar -xzOf - .PKGINFO 2>&1
| sed -rn 's/pkgname = (.*)/\1/p'

Horrible way to do it though... i almost feel bad for having thought of it.




More information about the pacman-dev mailing list