archhaskell / habs

Arch Haskell ABS tree
http://github.com/archhaskell/habs
80 stars 28 forks source link

request: lhs2tex #216

Closed favonia closed 8 years ago

favonia commented 8 years ago

lhs2tex is a useful tool for including Haskell/Agda code in LaTeX. It is popular as Ubuntu, FreeBSD and Stackage all have it, but somehow Arch does not. I thus (re)created lhs2tex in AUR, but feel ArchHaskell is a better place to go. The reasons are (1) the author said cabal is the preferred way and (2) I am worried about missing new upstream releases.

Here is the PKGBUILD I uploaded: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lhs2tex Sorry I am not familiar with the structure of habs (yet) so I did not make a pull request. As far as I know the only hidden dependency is texlive-latexextra which provides polytable.sty and lazylist.sty. If these files do not exist during configure, lhs2tex will install its own versions. Theoretically we could also put texlive-latexextra in optdepends and pass --disable-polytable to configure, but I am not sure how "optional" they are.