5 # PKGBUILD options/directives
9 pkgdesc="A collection of random tools"
10 url="http://hackage.haskell.org/package/${_hkgname}"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-hsh=2.0.3-20"
15 "haskell-missingh=1.1.1.0-2"
16 "haskell-sha=1.5.0.0-2"
17 "haskell-ansi-terminal=0.5.5-18"
18 "haskell-colour=2.3.1-18"
19 "haskell-split=0.1.4.1-1"
20 "haskell-unix=2.4.2.0-2")
23 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
25 sha256sums=("8a8d9775dcaef5acdc728277214a7e0080c3d2b680d7e0405d5f1eb1675d93dd")
29 cd ${srcdir}/${_hkgname}-${pkgver}
31 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
32 runhaskell Setup build
36 cd ${srcdir}/${_hkgname}-${pkgver}
37 runhaskell Setup copy --destdir=${pkgdir}