summaryrefslogtreecommitdiff
path: root/haskell/haskell-polyparse/haskell-polyparse.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 10:59:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:39 +0700
commit2af332708c91a0fd692a718432c786b4f8ad0f05 (patch)
treedb60f3952a604fb88216f6439ae019587ee43db8 /haskell/haskell-polyparse/haskell-polyparse.SlackBuild
parent97ccdb0e06a933a0e803f2ce9ffefb1c95e265a1 (diff)
downloadslackbuilds-2af332708c91a0fd692a718432c786b4f8ad0f05.tar.gz
haskell/haskell-polyparse: Updated for version 1.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-polyparse/haskell-polyparse.SlackBuild')
-rw-r--r--haskell/haskell-polyparse/haskell-polyparse.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/haskell/haskell-polyparse/haskell-polyparse.SlackBuild b/haskell/haskell-polyparse/haskell-polyparse.SlackBuild
index 1bab0481c4..eea2960e73 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