diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 19:55:24 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 19:55:24 -0300 |
commit | e2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (patch) | |
tree | 506c782411889ae8fe218db16eee680c7ae5e0e2 /extra/ghc | |
parent | 7927a6b6296eecd09c8d2f70e593a378768deabe (diff) | |
parent | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gtk2hs-cairo/PKGBUILD
community/gtk2hs-glib/PKGBUILD
community/gtk2hs-gtk/PKGBUILD
community/gtk2hs-pango/PKGBUILD
community/haskell-dbus/PKGBUILD
community/haskell-hslogger/PKGBUILD
community/kvirc/PKGBUILD
community/perl-gtk2-trayicon/PKGBUILD
core/binutils/PKGBUILD
core/gcc/PKGBUILD
core/glibc/PKGBUILD
core/linux-api-headers/PKGBUILD
extra/krusader/PKGBUILD
extra/libproxy/PKGBUILD
extra/libreoffice/PKGBUILD
extra/openal/PKGBUILD
extra/postgresql/PKGBUILD
extra/razor/PKGBUILD
extra/subversion/PKGBUILD
extra/swt/PKGBUILD
extra/valgrind/PKGBUILD
kde-unstable/kdebase-runtime/PKGBUILD
kde-unstable/kdenetwork/PKGBUILD
kde-unstable/kdepim-runtime/PKGBUILD
libre/kernel26-libre/PKGBUILD
multilib/binutils-multilib/PKGBUILD
multilib/gcc-multilib/PKGBUILD
multilib/lib32-glibc/PKGBUILD
testing/git/PKGBUILD
testing/graphviz/PKGBUILD
testing/graphviz/install
testing/perl-xml-parser/PKGBUILD
Diffstat (limited to 'extra/ghc')
-rw-r--r-- | extra/ghc/PKGBUILD | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD index 5b629b69c..11a545a29 100644 --- a/extra/ghc/PKGBUILD +++ b/extra/ghc/PKGBUILD @@ -1,14 +1,20 @@ -# $Id: PKGBUILD 112131 2011-03-04 07:57:42Z vesa $ +# $Id: PKGBUILD 128106 2011-06-22 10:54:11Z vesa $ # Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> +# Special note for devs looking to upgrade this package: +# ghc places a unique hash for each library when it is built. +# Libraries depend on versions specified by those hashes. +# This implies that all libraries need to be rebuilt when ghc is rebuilt. +# Also, due to dependency loop problems, haskell-ghc-paths and haddock +# do not carry version dependencies. You will have to remember to build them too. pkgname=ghc -pkgver=7.0.2 -pkgrel=1 +pkgver=7.0.3 +pkgrel=2 pkgdesc="The Glasgow Haskell Compiler" arch=(i686 x86_64 'mips64el') url="http://www.haskell.org/ghc/" license=("custom") depends=('perl' 'gmp>=5.0' gcc) -makedepends=(ghc happy perl) +makedepends=(ghc happy perl libxslt docbook-xsl) provides=("haskell-array=0.3.0.2" "haskell-bytestring=0.9.1.10" "haskell-cabal=1.10.1.0" @@ -26,7 +32,6 @@ provides=("haskell-array=0.3.0.2" "haskell-template-haskell=2.5.0.0" "haskell-time=1.2.0.3" "haskell-unix=2.4.2.0" - "haddock=2.9.2" ) replaces=("haskell-array<0.3.0.2" "haskell-bytestring<0.9.1.10" @@ -45,11 +50,10 @@ replaces=("haskell-array<0.3.0.2" "haskell-template-haskell<2.5.0.0" "haskell-time<1.2.0.3" "haskell-unix<2.4.2.0" - "haddock<2.9.2" ) install=ghc.install - +options=(!strip) source=("http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2" build.mk) @@ -60,10 +64,16 @@ build() { ./configure --prefix=/usr make -j1 || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license + install -d $pkgdir/usr/share/haskell } -md5sums=('946a18a0dc30437db72c0d3fdf26ca42' +md5sums=('10bc5e9ae1b581404376efb85f260ff3' '5a3e0880c80b1dcecf779ff2e63a9c0d') |