[arch-haskell] Road to binary repository

Rémy Oudompheng remyoudompheng at gmail.com
Fri Oct 22 14:08:16 EDT 2010

On 2010/10/22 Peter Simons <simons at cryp.to> wrote:
> Hi Rémy,
>  > The missing part is:
>  > * use the revdeps script [#] to compute reverse dependencies
>  > * use some sed magic or shell script to increment pkgrel in the PKGLIST.
>  > * add to manycabal2arch the ability to:
>  >   - not regenerate already generated packages
>  >   - read pkgrel from the PKGLIST
>  > * makeworld checks only existence of files to know whether something
>  > has to be rebuilt, if the pkgrel has changed, the package filename
>  > changes, hence the package has to be rebuilt.
> I may be misunderstanding things, of course, but this sounds very much
> like the short answer to my question is "no".


> Does it even make sense to implement all those features that you've
> mentioned? From the looks of it, you are about to re-invent Make.

It is necessary to increment $pkgrel in order to get pacman to know an
update is available (if the goal is a binary repo). This means that
any version bump on a package needs a regeneration for all dependent
PKGBUILDs. I don't really know a 'make' way of doing that.


More information about the arch-haskell mailing list