updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / lhs2tex / PKGBUILD
blob23dfb9a7518baa6aa3ba81b40213bc48350ca8e7
1 # Maintainer: Christian Neukirchen <chneukirchen@gmail.com>
2 _hkgname=lhs2tex
3 pkgname=lhs2tex
4 pkgver=1.17
5 pkgrel=1
6 pkgdesc="Preprocessor for typesetting Haskell sources with LaTeX"
7 url="http://hackage.haskell.org/package/${_hkgname}"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-directory=1.1.0.0' 'haskell-extensible-exceptions=0.1.1.2' 'haskell-filepath=1.2.0.0' 'haskell-mtl=2.0.1.0' 'haskell-process=1.0.1.5' 'haskell-regex-compat=0.93.1')
11 depends=('gmp')
12 options=('strip')
13 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
14 md5sums=('191150cc38ed0a0e8311fa58a4d09b0c')
15 build() {
16     cd ${srcdir}/${_hkgname}-${pkgver}
17     runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
18     runhaskell Setup build
20 package() {
21     cd ${srcdir}/${_hkgname}-${pkgver}
22     runhaskell Setup copy --destdir=${pkgdir}