aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-regex-compat-tdfa
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 11:00:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:41 +0700
commit7f454642c953de879ae954e192125f18add09eb5 (patch)
tree9be0cca557e88cf588897d3e3ba93cfd40903bb4 /haskell/haskell-regex-compat-tdfa
parent46dce92e70c92a5b7c2cafa8f464fb3976a6108b (diff)
haskell/haskell-regex-compat-tdfa: Updated for version 0.95.1.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-regex-compat-tdfa')
-rw-r--r--haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild10
-rw-r--r--haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild
index db92c812bde96..3347dfe0fab23 100644
--- a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild
+++ b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.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 \
- $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-regex-compat-tdfa/haskell-regex-compat-tdfa.info b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info
index d915632626642..ed5af198b2d42 100644
--- a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info
+++ b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-regex-compat-tdfa"
VERSION="0.95.1.4"
-HOMEPAGE="http://hackage.haskell.org/package/regex-compat-tdfa"
-DOWNLOAD="http://hackage.haskell.org/package/regex-compat-tdfa-0.95.1.4/regex-compat-tdfa-0.95.1.4.tar.gz"
+HOMEPAGE="https://hackage.haskell.org/package/regex-compat-tdfa"
+DOWNLOAD="https://hackage.haskell.org/package/regex-compat-tdfa-0.95.1.4/regex-compat-tdfa-0.95.1.4.tar.gz"
MD5SUM="a0474ceb61330257a53cb9956f8d6edb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ghc haskell-regex-base haskell-regex-tdfa"
+REQUIRES="haskell-regex-base haskell-regex-tdfa"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"