# $Id: PKGBUILD 42828 2009-06-18 20:48:39Z tpowa $ # Contributor: Tom Newsom # Maintainer: Kevin Piche pkgname=hugs98 pkgver=200609 pkgrel=3 pkgdesc="Haskell 98 interpreter" arch=(i686 x86_64) url="http://www.haskell.org/hugs" license=('custom') depends=('readline>=6.0') source=(http://cvs.haskell.org/Hugs/downloads/2006-09/$pkgname-plus-Sep2006.tar.gz) md5sums=('e03e0ad79750d037237c47ebe33fa20e') build() { if [ "$CARCH" = "x86_64" ]; then unset CFLAGS fi cd $startdir/src/$pkgname-plus-Sep2006 #rm config.cache ./configure --prefix=/usr --with-pthreads make || return 1 make DESTDIR=$startdir/pkg install install -Dm644 License ${pkgdir}/usr/share/licenses/hugs98/license }