[arch-general] Post-packaging modification tool

Magnus Therning magnus at therning.org
Tue Apr 28 21:04:30 UTC 2015


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 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.

That might be the easiest way, unless someone's already written a tool
that solves the problem.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20150428/c3daa9f0/attachment.asc>


More information about the arch-general mailing list