5 # PKGBUILD options/directives
9 pkgdesc="Topologically sort cabal packages"
10 url="http://hackage.haskell.org/package/${_hkgname}"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-cabal=1.10.1.0"
15 "haskell-bytestring=0.9.1.10"
16 "haskell-containers=0.4.0.0"
17 "haskell-directory=1.1.0.0"
18 "haskell-explicit-exception=0.1.6"
20 "haskell-filepath=1.2.0.0"
21 "haskell-process=1.0.1.5"
22 "haskell-transformers=0.2.2.0")
25 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
27 sha256sums=("c91f363bda014315e708eb0325da41ebbd138c6ad02a3ef509849823432d27f4")
31 cd ${srcdir}/${_hkgname}-${pkgver}
32 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
33 runhaskell Setup build
37 cd ${srcdir}/${_hkgname}-${pkgver}
38 runhaskell Setup copy --destdir=${pkgdir}