From c3d5be286dacb875a7ee64d01d8dd73d7f2ea3d9 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 13 Feb 2017 00:52:07 +0100 Subject: [PATCH] ghc-bin: update to 8.0.2. --- srcpkgs/ghc-bin/template | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/srcpkgs/ghc-bin/template b/srcpkgs/ghc-bin/template index 73b82e3c022..8860e866724 100644 --- a/srcpkgs/ghc-bin/template +++ b/srcpkgs/ghc-bin/template @@ -1,25 +1,30 @@ # Template file for 'ghc-bin' pkgname=ghc-bin -version=8.0.1 +version=8.0.2 revision=1 wrksrc="ghc-${version%[!0-9]}" hostmakedepends="ncurses perl" depends="ncurses perl gcc libffi-devel gmp-devel" short_desc="Glorious Haskell Compiler - precompiled binaries" -maintainer="Christian Neukirchen " +maintainer="Leah Neukirchen " license="BSD" homepage="http://www.haskell.org/ghc/" -only_for_archs="i686 x86_64" +only_for_archs="i686 x86_64 x86_64-musl" nostrip=yes conflicts="ghc>=0 ghc-doc>=0" case "$XBPS_TARGET_MACHINE" in -x86_64*) +x86_64) distfiles="https://downloads.haskell.org/~ghc/${version%[!0-9]}/ghc-${version}-x86_64-deb8-linux.tar.xz" - checksum=b1c06af49b29521d5b122ef3311f5843e342db8b1769ea7c602cc16d66098ced + checksum=5ee68290db00ca0b79d57bc3a5bdce470de9ce9da0b098a7ce6c504605856c8f ;; -i686*) +x86_64-musl) + # create with "make binary-dist" + distfiles="https://repo.voidlinux.eu/distfiles/ghc-8.0.2-x86_64-void-linux-musl.tar.xz" + checksum=02093097c2f9ef99bd94a2deddc2e326597a198505f68e97e0bb21b991219b8b + ;; +i686) distfiles="https://downloads.haskell.org/~ghc/${version%[!0-9]}/ghc-${version}-i386-deb8-linux.tar.xz" - checksum=81c27c59f4c4efd7458f308d6a8e130b67c6c156999b78bad42caf78a7453ab1 + checksum=818621342a2161b8afcc995a0765816bb40aefbfa1db2c8a7d59c04d8b18228a ;; esac