diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 10:56:15 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:08 +0700 |
commit | 0efdbbf0b6451d66f3ebb1a734c1171a5020cc9b (patch) | |
tree | 9d1e859b71cbd4457bb425b286cc16156e2ebcd4 /haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild | |
parent | 9f86ab706a2e2ce9c440ade4ae75f35790bf0801 (diff) |
haskell/haskell-base16-bytestring: Updated for version 0.1.1.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild')
-rw-r--r-- | haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild index 78442fdf3379c..e74af70858f44 100644 --- a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild +++ b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.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 \ - LICENSE README.markdown \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |