updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / curry-frontend / PKGBUILD
blobfe111d43eebc7ac7ca16c347ffdd319948946fb0
1 # Contributor: Arch Haskell Team <arch-haskell@haskell.org>
2 # Package generated by cabal2arch 0.6.1
3 pkgname=curry-frontend
4 pkgrel=1
5 pkgver=0.2.4
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')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-cabal' 'haskell-curry-base>=0.2.2')
11 depends=('gmp')
12 options=('strip')
13 source=(http://hackage.haskell.org/packages/archive/curry-frontend/0.2.4/curry-frontend-0.2.4.tar.gz)
14 md5sums=('e8b2485164e34f02abde39705b2b6c76')
15 build() {
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