summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRudy Matela2015-12-16 12:54:28 +0000
committerRudy Matela2015-12-16 12:54:28 +0000
commit4db8b7ac9bac8bccd0e05006684b223a1c334bbe (patch)
tree06ba8428e812d557d4e785b3a5dab2bf5004479d
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.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d59c8b4a63f..7fe3ca95ea52 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Dec 15 22:40:17 UTC 2015
+# Wed Dec 16 12:53:55 UTC 2015
pkgbase = ghc7.4
pkgdesc = Legacy GHC (7.4 series). Originally released on June 2012.
pkgver = 7.4.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.haskell.org/ghc/
install = ghc.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 58b4b1979f85..c94868cf5c64 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