diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 10:57:47 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:21 +0700 |
commit | ad2161e0537c28f4a19eb5d4256129ddbb09a060 (patch) | |
tree | 09b13d408159ba24f024ef1214b4ccf65dd81e66 /haskell/haskell-fail | |
parent | 6cca453d1a53f2705fcd11e64fcc5467a030214c (diff) | |
download | slackbuilds-ad2161e0537c28f4a19eb5d4256129ddbb09a060.tar.gz |
haskell/haskell-fail: Updated for version 4.9.0.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-fail')
-rw-r--r-- | haskell/haskell-fail/haskell-fail.SlackBuild | 11 | ||||
-rw-r--r-- | haskell/haskell-fail/haskell-fail.info | 4 |
2 files changed, 6 insertions, 9 deletions
diff --git a/haskell/haskell-fail/haskell-fail.SlackBuild b/haskell/haskell-fail/haskell-fail.SlackBuild index 991e8d9b23..7531a59836 100644 --- a/haskell/haskell-fail/haskell-fail.SlackBuild +++ b/haskell/haskell-fail/haskell-fail.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" @@ -84,7 +84,6 @@ runghc Setup configure \ --docdir=/usr/doc/$PRGNAM-$VERSION runghc Setup build -runghc Setup haddock runghc Setup copy --destdir=$PKG runghc Setup register --gen-pkg-config @@ -97,9 +96,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 \ - LICENSE \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $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-fail/haskell-fail.info b/haskell/haskell-fail/haskell-fail.info index 43a15825b9..1fe77cb29a 100644 --- a/haskell/haskell-fail/haskell-fail.info +++ b/haskell/haskell-fail/haskell-fail.info @@ -1,7 +1,7 @@ PRGNAM="haskell-fail" VERSION="4.9.0.0" -HOMEPAGE="http://hackage.haskell.org/package/fail" -DOWNLOAD="http://hackage.haskell.org/package/fail-4.9.0.0/fail-4.9.0.0.tar.gz" +HOMEPAGE="https://hackage.haskell.org/package/fail" +DOWNLOAD="https://hackage.haskell.org/package/fail-4.9.0.0/fail-4.9.0.0.tar.gz" MD5SUM="e2bc7fe2a5c1518acb0b5b5b9b1b4723" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |