5 # PKGBUILD options/directives
9 pkgdesc="A compiler front-end generator."
10 url="http://www.cse.chalmers.se/research/group/Language-technology/BNFC/"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-array=0.3.0.2"
15 "haskell-directory=1.1.0.0"
16 "haskell-haskell98=1.1.0.1"
18 "haskell-process=1.0.1.5")
21 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
23 sha256sums=("c0c69b50f17e13cf5afd9c9d8ce2cabab1273c14bebc91f4f065068af5a7ca5a")
27 cd ${srcdir}/${_hkgname}-${pkgver}
28 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
29 runhaskell Setup build
33 cd ${srcdir}/${_hkgname}-${pkgver}
34 runhaskell Setup copy --destdir=${pkgdir}