mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
750 B
Bash
29 lines
750 B
Bash
|
# $Id: PKGBUILD 42828 2009-06-18 20:48:39Z tpowa $
|
||
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
||
|
|
||
|
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
|
||
|
}
|