summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRudy Matela2015-12-16 12:58:18 +0000
committerRudy Matela2015-12-16 12:58:18 +0000
commitaba8ca9ce154ff1d5f0151be69f532f9a166087f (patch)
tree4b8972796f38fbc1902353963396aeaf812fa64b /PKGBUILD
parentfcf39d23e9f8aad2658f931a708032b51e5114db (diff)
downloadaur-ghc7.6.tar.gz
ghc7.6 v7.6.3-3: fix doc directory
`ghc-pkg-7.6 check` was failing, complaining about missing documentation files.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b720b5f1dc7f..fc0b958eb625 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@
# (your mileage may vary.)
pkgname=ghc7.6
pkgver=7.6.3
-pkgrel=2
+pkgrel=3
pkgdesc='Legacy GHC. Compatible with Haskell Platform 2013.2'
arch=('i686' 'x86_64')
url='http://www.haskell.org/ghc/'
@@ -101,7 +101,8 @@ build() {
./configure \
--prefix=/usr \
- --with-ghc=ghc-7.6
+ --with-ghc=ghc-7.6 \
+ --docdir=/usr/share/doc/ghc-7.6
make
}
@@ -154,7 +155,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