3 _licensefile=LICENSE-2.0
5 # PKGBUILD options/directives
9 pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
10 url="http://hackage.haskell.org/package/${_hkgname}"
11 license=("OtherLicense")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-unixutils=1.46-3"
15 "haskell-ansi-wl-pprint=0.6.3-18"
16 "haskell-cmdargs=0.7-18"
17 "haskell-json=0.4.4-18"
18 "haskell-mtl=2.0.1.0-3.1"
19 "haskell-tar=0.3.1.0-5"
20 "haskell-unix=2.4.2.0-2"
21 "haskell-zlib=0.5.3.1-2.1")
24 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
26 sha256sums=("4790906544d83a1e11d1344a196eeff77532d6246e5e5112446a330387003bf0")
30 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}