1 #maintainer: Your Name <youremail at domain dot com>
6 pkgdesc="Documents for the Glasgow Haskell Compiler"
8 url="http://haskell.org/haskellwiki/GHC"
19 #install=$pkgname.install
21 http://www.haskell.org/ghc/docs/$pkgver/Cabal.html.tar.bz2
22 http://www.haskell.org/ghc/docs/$pkgver/libraries.html.tar.bz2
23 http://www.haskell.org/ghc/docs/$pkgver/users_guide.html.tar.bz2
28 sed -i -e "s/\"libraries\/ghc-.*\"/\"libraries\/ghc-$pkgver\/index\.html\"/g" $srcdir/index.html || return 1
33 install -Dm 644 $srcdir/index.html $pkgdir/usr/share/doc/ghc/index.html || return 1
34 mv $srcdir/Cabal $pkgdir/usr/share/doc/ghc/ || return 1
35 mv $srcdir/users_guide $pkgdir/usr/share/doc/ghc/ || return 1
36 mv $srcdir/libraries $pkgdir/usr/share/doc/ghc/ || return 1
38 md5sums=('2ddd194b1dd6cad9856085cfbebcdeaa'
39 '150459b9363fb127140f4b4f55c0a838'
40 'c3f771dcc34a7eca968a2e26e6612362'
41 '0b38acdbcbc748eaeafe704359d7645f')