chris blogs

July 2013

17jul2013 · Summer of Scripts: pacsrc

pacsrc is probably my most used Arch helper script: it parses the build description for a package (the PKGBUILD) and outputs the sources used. I often use this when I want to look at the source code of some tool.

% pacsrc zsh

The first line is the link to the PKGBUILD, if I want to look up how it’s configured and compiled. The other lines are the sources used, so fetching the tarball is just a simple wget away.

NP: Temple Of The Dog—Wooden Jesus

Copyright © 2004–2016