[arch-haskell] Creating binary and doc from the same PKGBUILD

Magnus Therning magnus at therning.org
Thu Aug 6 07:07:35 EDT 2009

I think it'd be worthwhile to provide packages with haddock-generated
documentation for all haskell packages.  However, I'm not convinced
that the docs should be packaged with the binary components of the
package.  I've been experimenting with "split packages" (in pacman as
of version 3.3) as a means of building both packages from the same

I've used dataenc for my experiments and have arrived at something
that makes some sense, but I'd like comments and feedback before I
start coding it into cabal2arch.  I've attached the modified PKGBUILD
and the added .install file for the -doc package.

I believe the same approach could be taken to providing packages with
profiling support as well.


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 1634 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/arch-haskell/attachments/20090806/17d2dff9/PKGBUILD.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haskell-dataenc-doc.install
Type: application/octet-stream
Size: 341 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/arch-haskell/attachments/20090806/17d2dff9/haskell-dataenc-doc.obj

More information about the arch-haskell mailing list