ghc-bin: update to 7.10.3b.

This commit is contained in:
Christian Neukirchen 2016-01-06 17:41:10 +01:00
parent 8f5e181a96
commit 39febac51f
1 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'ghc-bin'
pkgname=ghc-bin
version=7.10.2
version=7.10.3b
revision=1
wrksrc="ghc-${version}"
wrksrc="ghc-${version%[!0-9]}"
hostmakedepends="ncurses perl"
depends="ncurses perl gcc libffi-devel gmp-devel"
short_desc="Glorious Haskell Compiler - precompiled binaries"
@ -14,12 +14,12 @@ nostrip=yes
conflicts="ghc>=0"
case "$XBPS_TARGET_MACHINE" in
x86_64*)
distfiles="https://www.haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-unknown-linux-deb7.tar.xz"
checksum=0144791f0cc5ef5991356b3b3a4521da8072dd1c216a48e7d2dfbbdca827cdf1
distfiles="https://downloads.haskell.org/~ghc/${version%[!0-9]}/ghc-${version}-x86_64-deb8-linux.tar.xz"
checksum=804c75c4635353bf987c1ca120b8531c7bb4957c5b84d29c7adc4894b6fd579d
;;
i686*)
distfiles="https://www.haskell.org/ghc/dist/${version}/ghc-${version}-i386-unknown-linux-deb7.tar.xz"
checksum=7a4ea84ba30df422319d4a706883492398204574e02254f08c8dff688d318350
distfiles="https://downloads.haskell.org/~ghc/${version%[!0-9]}/ghc-${version}-i386-deb7-linux.tar.xz"
checksum=48a67d53f1bea8e07bd490cb56b77194c674ecc4d5cd228955f46eb1aceb4d29
;;
esac
@ -35,6 +35,6 @@ do_install() {
# Fake libtinfo into rpath of ghc:
ln -sf /usr/lib/libncursesw.so.6 \
$DESTDIR/usr/lib/ghc-${version}/rts/libtinfo.so.5
$DESTDIR/usr/lib/ghc-${version%[!0-9]}/rts/libtinfo.so.5
vlicense LICENSE
}