5 # PKGBUILD options/directives
9 pkgdesc="A collection of tools to process mbox files"
10 url="https://github.com/np/mbox-tools"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-codec-mbox=0.1.0.0-2"
15 "haskell-fclabels=1.0.4-1"
16 "haskell-hsemail=1.7.1-18"
17 "haskell-mtl=2.0.1.0-3.1"
18 "haskell-parsec=3.1.1-2.1"
19 "haskell-puremd5=2.1.0.3-25")
22 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
24 sha256sums=("7053c190f5bf46365530df916f780ddb8bd6f497868fc69ec07dbda94fa20dc8")
28 cd ${srcdir}/${_hkgname}-${pkgver}
30 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
31 runhaskell Setup build
35 cd ${srcdir}/${_hkgname}-${pkgver}
36 runhaskell Setup copy --destdir=${pkgdir}