On Mon, Dec 29, 2014 at 11:00 PM, Dave Reisner email@example.com wrote:
On Mon, Dec 29, 2014 at 10:21:17PM -0500, Dave Reisner wrote:
On Mon, Dec 29, 2014 at 09:49:24PM -0500, Ido Rosen wrote:
Is there currently a script to just create a .SRCINFO from a PKGBUILD? I don't want any side effects like downloading src packages (i.e. I don't want to run makepkg or mkaurball), etc. since this is for use in git filter-branch --tree-filter.
There exists a tool in the pkgbuild-introspection git repo which will write a .SRCINFO to standard output when given a PKGBUILD. Pull requests welcome to give it a better name (mksrcinfo?) and some UI.
Nevermind, this (mksrcinfo) now exists in pkgbuild-introspection-git. Bug reports welcome.
Thanks. For now, I'm just copying and pasting this into my script rather than depending on pkgbuild-introspection-git. :-)
See other thread (one git <-> AUR4 per package git repos) in a minute for the script contents.