From 2af332708c91a0fd692a718432c786b4f8ad0f05 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 26 Oct 2018 10:59:53 +0100 Subject: haskell/haskell-polyparse: Updated for version 1.12. Signed-off-by: David Spencer --- haskell/haskell-polyparse/haskell-polyparse.SlackBuild | 10 ++++------ haskell/haskell-polyparse/haskell-polyparse.info | 6 +++--- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'haskell') diff --git a/haskell/haskell-polyparse/haskell-polyparse.SlackBuild b/haskell/haskell-polyparse/haskell-polyparse.SlackBuild index 1bab0481c441..eea2960e7393 100644 --- a/haskell/haskell-polyparse/haskell-polyparse.SlackBuild +++ b/haskell/haskell-polyparse/haskell-polyparse.SlackBuild @@ -33,7 +33,7 @@ GHC_VERSION=$(ghc --numeric-version) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,9 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYRIGHT \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYRIGHT $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-polyparse/haskell-polyparse.info b/haskell/haskell-polyparse/haskell-polyparse.info index 8eca07716178..8537acb6fd6a 100644 --- a/haskell/haskell-polyparse/haskell-polyparse.info +++ b/haskell/haskell-polyparse/haskell-polyparse.info @@ -1,10 +1,10 @@ PRGNAM="haskell-polyparse" VERSION="1.12" -HOMEPAGE="http://hackage.haskell.org/package/polyparse" -DOWNLOAD="http://hackage.haskell.org/package/polyparse-1.12/polyparse-1.12.tar.gz" +HOMEPAGE="https://hackage.haskell.org/package/polyparse" +DOWNLOAD="https://hackage.haskell.org/package/polyparse-1.12/polyparse-1.12.tar.gz" MD5SUM="d925e7a465a65c1b41b8acc40cc19d39" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ghc haskell-text" +REQUIRES="ghc" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" -- cgit v1.2.3