
On 2010/10/30 Peter Simons
Yes, my PKGLIST now contains both package names from ArchLinux and Cabal: http://github.com/peti/arch-haskell/blob/master/PKGLIST. This allows us to include multiple versions of the same package in the distribution, i.e. like this:
# # ArchLinx pkgname Cabal pkgname Version Release # haskell-pandoc1 pandoc 1.6 1 haskell-pandoc pandoc 2.0 1
I'm also planning to augment PKGLIST with a set of options that are to be applied in the conversion, for example:
# # ArchLinx pkgname Cabal pkgname Version Release Flags # haskell-pandoc pandoc 1.6 1 haskell-pandoc-full pandoc 1.6 1 -fhighlighting -fciteproc
I'm not quite there yet, and this change is going to require further genereralization of the archhaskell library API, but IMHO that feature would be worthwile to have.
I also think so: in this case we should probably adapt cabal2pkg to output a provides line, so that other PKGBUILD can safely depend on the traditional package name. -- Rémy.