updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / lhae / PKGBUILD
blobab26ee09e3374ff194dc3e0a1a8b00eb2b85e156
1 # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
2 _hkgname=lhae
3 pkgname=lhae
4 pkgver=0.0.3
5 pkgrel=2
6 pkgdesc="Simple spreadsheet program"
7 url="http://hackage.haskell.org/package/${_hkgname}"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-array=0.3.0.1' 'haskell-containers=0.3.0.0' 'haskell-directory=1.0.1.1' 'haskell-filepath=1.1.0.4' 'haskell-hgettext<1.0' 'haskell-mtl<2.0' 'haskell-parsec=2.1.0.1' 'haskell-process=1.0.1.3' 'haskell-setlocale<1.0' 'haskell-utf8-string<1.0' 'haskell-wx<1.0' 'haskell-wxcore<1.0')
11 depends=('gmp')
12 options=('strip')
13 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
14 build() {
15     cd ${srcdir}/${_hkgname}-${pkgver}
16     runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
17     runhaskell Setup build
19 package() {
20     cd ${srcdir}/${_hkgname}-${pkgver}
21     runhaskell Setup copy --destdir=${pkgdir}
23 md5sums=('4f2e1c2e26241bb0fb5afc09c61d83e3')