5 # PKGBUILD options/directives
9 pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
10 url="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-array=0.3.0.2"
15 "haskell-containers=0.4.0.0"
16 "haskell-directory=1.1.0.0"
17 "haskell-filepath=1.2.0.0"
18 "haskell-language-c=0.3.2.1"
19 "haskell-pretty=1.0.1.2"
20 "haskell-process=1.0.1.5")
23 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
25 sha256sums=("a562be4f9c2d2a2c55bc61233f86e129aff1ec6ac588b9eb904e17379beb1ae3")
29 cd ${srcdir}/${_hkgname}-${pkgver}
30 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
31 runhaskell Setup build
35 cd ${srcdir}/${_hkgname}-${pkgver}
36 runhaskell Setup copy --destdir=${pkgdir}