1 # Contributor: Arch Haskell Team <arch-haskell@haskell.org>
2 # Package generated by cabal2arch 0.6.1
6 pkgdesc="Compile the functional logic language Curry to several intermediate formats"
7 url="http://hackage.haskell.org/package/curry-frontend"
8 license=('custom:OtherLicense')
10 makedepends=('ghc' 'haskell-cabal' 'haskell-curry-base>=0.2.2')
13 source=(http://hackage.haskell.org/packages/archive/curry-frontend/0.2.4/curry-frontend-0.2.4.tar.gz)
14 md5sums=('e8b2485164e34f02abde39705b2b6c76')
16 cd ${srcdir}/curry-frontend-0.2.4
17 runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
18 runhaskell Setup build || return 1
19 runhaskell Setup copy --destdir=${pkgdir} || return 1
20 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
21 rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE