[arch-commits] Commit in ghc/trunk (PKGBUILD)
Vesa Kaihlavirta
vesa at archlinux.org
Tue Nov 4 04:15:46 UTC 2008
Date: Monday, November 3, 2008 @ 23:15:46
Author: vesa
Revision: 18310
Update to 6.10.1 and remove cruft
Modified:
ghc/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-04 03:48:43 UTC (rev 18309)
+++ PKGBUILD 2008-11-04 04:15:46 UTC (rev 18310)
@@ -1,7 +1,7 @@
# $Id$
# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
pkgname=ghc
-pkgver=6.10.1rc1
+pkgver=6.10.1
pkgrel=1
pkgdesc="A state-of-the-art, open source, compiler and interactive environment for Haskell."
arch=(i686 x86_64)
@@ -9,27 +9,21 @@
license=("custom")
depends=(gmp libedit)
makedepends=(ghc happy perl)
-source=("http://www.haskell.org/ghc/dist/stable/dist/6.10.1-rc-1/$pkgname-6.10.0.20081007-src.tar.bz2" \
- "http://www.haskell.org/ghc/dist/stable/dist/6.10.1-rc-1/$pkgname-6.10.0.20081007-src-extralibs.tar.bz2"
+source=("http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src.tar.bz2" \
+ "http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src-extralibs.tar.bz2"
build.mk)
-md5sums=('4350d1f8bea53f713732d10a7a9133f6'
- '59136b86bafbdc4d32a645d3d7a8fa46'
+md5sums=('54c676a632b3d73cf526b06347522c32'
+ '4ff4590f1002ae1ff608874da8643c67'
'a05681b982aad44cc6770bd021e35b67')
build() {
- #since this is a compiler, it needs itself to compile
- #installer automatically bootstraps itself, so this actually compiles twice
- #In order to compile, you need ghc installed on your system
- cd $startdir/src/$pkgname-6.10.0.20081007
+ cd $startdir/src/$pkgname-$pkgver
- cd libraries/network && autoreconf || return 1
- cd -
-
cp $startdir/build.mk mk/build.mk
./configure --prefix=/usr
- make -j2 || return 1
+ make || return 1
make DESTDIR=$startdir/pkg install
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
More information about the arch-commits
mailing list