summaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 11:00:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:48 +0700
commit578c71ac3fa493d57d01d9994e50a48aa3b9e556 (patch)
tree8dabd69798a17580ccfe39b5736a539abf03af66 /haskell
parentec8c1e170e812ea39d5495bb92fa8b3d8ea83d44 (diff)
downloadslackbuilds-578c71ac3fa493d57d01d9994e50a48aa3b9e556.tar.gz
haskell/haskell-stringsearch: Updated for version 0.3.6.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild10
-rw-r--r--haskell/haskell-stringsearch/haskell-stringsearch.info4
2 files changed, 6 insertions, 8 deletions
diff --git a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild
index 5d9a862ba0..a57a953c15 100644
--- a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild
+++ b/haskell/haskell-stringsearch/haskell-stringsearch.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 \
- CHANGES LICENCE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES LICENCE $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-stringsearch/haskell-stringsearch.info b/haskell/haskell-stringsearch/haskell-stringsearch.info
index 2c23af31f0..986b39f3f6 100644
--- a/haskell/haskell-stringsearch/haskell-stringsearch.info
+++ b/haskell/haskell-stringsearch/haskell-stringsearch.info
@@ -1,7 +1,7 @@
PRGNAM="haskell-stringsearch"
VERSION="0.3.6.6"
-HOMEPAGE="http://hackage.haskell.org/package/stringsearch"
-DOWNLOAD="http://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz"
+HOMEPAGE="https://hackage.haskell.org/package/stringsearch"
+DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz"
MD5SUM="b7455a2d8462a55631e261e2981e1bce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""