diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 10:58:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:25 +0700 |
commit | efdbe7ab5e15c78e571c43c5e81cdd9483a00e17 (patch) | |
tree | b348f9dafab361bd0406715b07009787f2b90b05 /haskell/haskell-half/haskell-half.SlackBuild | |
parent | 3f7860a38ad11425951094d2a828668785475993 (diff) | |
download | slackbuilds-efdbe7ab5e15c78e571c43c5e81cdd9483a00e17.tar.gz |
haskell/haskell-half: Updated for version 0.2.2.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-half/haskell-half.SlackBuild')
-rw-r--r-- | haskell/haskell-half/haskell-half.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/haskell/haskell-half/haskell-half.SlackBuild b/haskell/haskell-half/haskell-half.SlackBuild index 06ea27eea8..8550502fe7 100644 --- a/haskell/haskell-half/haskell-half.SlackBuild +++ b/haskell/haskell-half/haskell-half.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 \ - CHANGELOG.markdown LICENSE README.markdown \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.markdown LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |