5 # PKGBUILD options/directives
9 pkgdesc="Create Arch Linux packages from Cabal packages."
10 url="http://github.com/archhaskell/"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-cabal=1.10.1.0"
15 "haskell-archlinux=1.3"
16 "haskell-bytestring=0.9.1.10"
18 "haskell-containers=0.4.0.0"
19 "haskell-directory=1.1.0.0"
20 "haskell-filepath=1.2.0.0"
22 "haskell-pretty=1.0.1.2"
23 "haskell-process=1.0.1.5")
26 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
28 sha256sums=("1fb18ba9ed506788f1b6c2f977ee6aead0b7edb9cd2bdae2cd210949d307616a")
32 cd ${srcdir}/${_hkgname}-${pkgver}
33 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
34 runhaskell Setup build
38 cd ${srcdir}/${_hkgname}-${pkgver}
39 runhaskell Setup copy --destdir=${pkgdir}