updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / yst / PKGBUILD
blob16ea70c19570d2e6c6cf17ce0564ef2648796829
1 # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
2 _hkgname=yst
3 pkgname=yst
4 pkgver=0.2.3.2
5 pkgrel=2
6 pkgdesc="Builds a static website from templates and data in YAML or CSV files."
7 url="http://hackage.haskell.org/package/${_hkgname}"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-hstringtemplate>=0.6.1' 'haskell-hssyck' 'haskell-bytestring=0.9.1.7' 'haskell-containers=0.3.0.0' 'haskell-csv' 'haskell-directory=1.0.1.1' 'haskell-filepath=1.1.0.4' 'haskell-old-locale=1.0.0.2' 'haskell-old-time=1.0.0.5' 'haskell-pandoc' 'haskell-parsec=2.1.0.1' 'haskell-split' 'haskell-time=1.1.4' 'haskell-utf8-string' 'haskell-xhtml=3000.2.0.1')
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=('4e0536f3207313280d0b01543c0f08b5')