1 # Maintainer: Josh Kuhn <kuhn.joshua@gmail.com>
6 pkgdesc="A Haskell preprocessor adding miscellaneous features"
8 url="http://personal.cis.strath.ac.uk/~conor/pub/she/"
9 license=('custom:PublicDomain')
10 makedepends=( 'ghc' 'haskell-cabal' 'haskell-filepath' 'haskell-mtl' 'darcs' )
16 _darcstrunk="http://personal.cis.strath.ac.uk/~conor/pub"
20 if [[ -d ${_darcsmod}/_darcs ]]
22 msg "Retrieving missing patches"
26 msg "Retrieving complete sources"
27 darcs get --lazy ${url}
30 runhaskell Setup configure --prefix=/usr \
31 --docdir=/usr/share/doc/${pkgname} || return 1
32 runhaskell Setup build || return 1
33 runhaskell Setup copy --destdir=${pkgdir} || return 1
34 install -D -m644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
35 rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE