On Tue, Apr 28, 2015 at 03:19:25PM -0500, Eli Schwartz wrote:
On Tue, Apr 28, 2015 at 12:18 PM, Sebastiaan Lokhorst < sebastiaanlokhorst@gmail.com> wrote:
2015-04-28 18:50 GMT+02:00 Magnus Therning <magnus@therning.org>:
I have a large set of already packages (300+) that I'd like to make some minor modifications to the meta data in. Since it takes a few hours to build them all I'd prefer to avoid dong that. So, is there a tool out there that allows me to make some minor changes to the meta data of a package?
A package is just a tar.xz, so you can simply unzip it, edit the .PKGINFO file, and zip it again. (I think)
Alternatively, if the PKGBUILD is updated makepkg has an option to --repackage without redoing build()
Editing .PKGINFO might be faster, but repackaging is the "correct" way to do it, for however much that's worth.
That might be the easiest way, unless someone's already written a tool that solves the problem. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Any fool can write code that a computer can understand. Good programmers write code that humans can understand. -- Martin Fowler