1 # Maintainer: edoardo <edoardo.elidoro@gmail.com>
2 # Contributor: Arch Haskell Team <arch-haskell@haskell.org>
9 url="http://hackage.haskell.org/package/${_hkgname}"
10 license=('custom:BSD3')
11 arch=('i686' 'x86_64')
12 makedepends=('ghc' 'haskell-hgl' 'haskell-yampa>=0.9.2' 'haskell-array=0.3.0.1' 'haskell-random=1.0.0.2')
15 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
16 md5sums=('c37b5cbe0cbeacf0ad3adca6925911b1')
19 cd ${srcdir}/${_hkgname}-${pkgver}
20 runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
21 runhaskell Setup build
24 cd ${srcdir}/${_hkgname}-${pkgver}
25 runhaskell Setup copy --destdir=${pkgdir}
26 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
27 rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE