4 pkgdesc="A C interface generator for Pure"
7 url="http://code.google.com/p/pure-lang"
9 makedepends=('make' 'gcc' 'bison' 'flex' 'ghc')
10 source=("http://pure-lang.googlecode.com/files/$pkgname-$pkgver.tar.gz")
11 md5sums=('375ad7c9d9afba28ecda9a32bd00bb0a')
14 echo -n 'To build pure-gen, your system should have language-c haskell package.
15 If it is not in your system, you can install it by this way.
16 > sudo pacman -S cabal-install
18 > cabal install alex happy language-c --global
19 Do you have the language-c package? (y/n) '
21 if [[ $yn != "y" ]]; then
25 cd $startdir/src/$pkgname-$pkgver
28 make DESTDIR=$startdir/pkg install || return 1