diff options
author | Rudy Matela | 2015-12-16 12:59:59 +0000 |
---|---|---|
committer | Rudy Matela | 2015-12-16 12:59:59 +0000 |
commit | 867b9ef31b3e1db89fcad4dbb3b65fed479c7105 (patch) | |
tree | 255e2fdd9817e6aa548cbb14927f2806959e48e5 | |
parent | c76f7e2c46820b20e8eb70abb116d09e10298cce (diff) | |
download | aur-867b9ef31b3e1db89fcad4dbb3b65fed479c7105.tar.gz |
ghc7.6-bin v7.6.3-5: fix doc directory
`ghc-pkg-7.6 check` was failing, complaining about missing documentation files.
This fixes this issue by
providing the documentation directory as a `./configure` flag.
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,7 +20,7 @@ pkgname=ghc7.6-bin pkgver=7.6.3 -pkgrel=4 +pkgrel=5 pkgdesc='Binary version of legacy GHC. Compatible with Haskell Platform 2013.2' arch=('i686' 'x86_64') url='http://www.haskell.org/ghc/' @@ -95,7 +95,8 @@ build() { sed -i 's,"$bindir/ghc","$bindir/ghc-7.6",' utils/runghc/runghc.wrapper ./configure \ - --prefix=/usr + --prefix=/usr \ + --docdir=/usr/share/doc/ghc-7.6 } package() { @@ -113,7 +114,6 @@ package() { mv ${pkgdir}/usr/bin/runghc ${pkgdir}/usr/bin/runghc-7.6 rm ${pkgdir}/usr/bin/runhaskell # use runghc-7.6 instead - mv ${pkgdir}/usr/share/doc/ghc ${pkgdir}/usr/share/doc/ghc-7.6 mv ${pkgdir}/usr/share/man/man1/ghc.1 ${pkgdir}/usr/share/man/man1/ghc-7.6.1 install -d ${pkgdir}/usr/share/licenses/ghc-7.6 |