summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRudy Matela2015-12-16 12:59:59 +0000
committerRudy Matela2015-12-16 12:59:59 +0000
commit867b9ef31b3e1db89fcad4dbb3b65fed479c7105 (patch)
tree255e2fdd9817e6aa548cbb14927f2806959e48e5
parentc76f7e2c46820b20e8eb70abb116d09e10298cce (diff)
downloadaur-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--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2d70a407807b..069cd6c394df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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