summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRudy Matela2015-12-16 12:54:28 +0000
committerRudy Matela2015-12-16 12:54:28 +0000
commit4db8b7ac9bac8bccd0e05006684b223a1c334bbe (patch)
tree06ba8428e812d557d4e785b3a5dab2bf5004479d /PKGBUILD
parent92df7328f6a80172696f552eace06f028e55a149 (diff)
downloadaur-ghc7.4.tar.gz
ghc7.4-7.4.2-2: install docs in the right place
Previously, ghc-pkg-7.4 check was failing, complaining about missing doc files. This change fixes this issue.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 58b4b1979f8..c94868cf5c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@
# (your mileage may vary.)
pkgname=ghc7.4
pkgver=7.4.2
-pkgrel=1
+pkgrel=2
pkgdesc='Legacy GHC (7.4 series). Originally released on June 2012.'
arch=('i686' 'x86_64')
url='http://www.haskell.org/ghc/'
@@ -103,7 +103,8 @@ build() {
./configure \
--prefix=/usr \
- --with-ghc=ghc-7.4
+ --with-ghc=ghc-7.4 \
+ --docdir=/usr/share/doc/ghc-7.4
make
}
@@ -137,7 +138,6 @@ package() {
mv ${pkgdir}/usr/bin/runghc ${pkgdir}/usr/bin/runghc-7.4
rm ${pkgdir}/usr/bin/runhaskell # use runghc-7.4 instead
- mv ${pkgdir}/usr/share/doc/ghc ${pkgdir}/usr/share/doc/ghc-7.4
mv ${pkgdir}/usr/share/man/man1/ghc.1 ${pkgdir}/usr/share/man/man1/ghc-7.4.1
install -d ${pkgdir}/usr/share/licenses/ghc-7.4