[arch-general] Post-packaging modification tool

Eli Schwartz eschwartz93 at gmail.com
Tue Apr 28 20:19:25 UTC 2015

On Tue, Apr 28, 2015 at 12:18 PM, Sebastiaan Lokhorst <
sebastiaanlokhorst at gmail.com> wrote:

> 2015-04-28 18:50 GMT+02:00 Magnus Therning <magnus at 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.

-- Eli Schwartz

More information about the arch-general mailing list