summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 11:00:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:42 +0700
commit17494851662036f99086e0b63b2c4f3fb43adf2d (patch)
tree94a9ad2ab9897ab9bed440c3549122ca25b43776
parent2c6196508478cc9011f595b44792ff6d31db3391 (diff)
downloadslackbuilds-17494851662036f99086e0b63b2c4f3fb43adf2d.tar.gz
haskell/haskell-regex-tdfa: Updated for version 1.2.3.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild10
-rw-r--r--haskell/haskell-regex-tdfa/haskell-regex-tdfa.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
index f2cbee10c4..07dacbc50b 100644
--- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
+++ b/haskell/haskell-regex-tdfa/haskell-regex-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 \
- CHANGELOG.md LICENSE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md 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-tdfa/haskell-regex-tdfa.info b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info
index e9aec1f767..df39ec5b16 100644
--- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info
+++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-regex-tdfa"
VERSION="1.2.3.1"
-HOMEPAGE="http://hackage.haskell.org/package/regex-tdfa"
-DOWNLOAD="http://hackage.haskell.org/package/regex-tdfa-1.2.3.1/regex-tdfa-1.2.3.1.tar.gz"
+HOMEPAGE="https://hackage.haskell.org/package/regex-tdfa"
+DOWNLOAD="https://hackage.haskell.org/package/regex-tdfa-1.2.3.1/regex-tdfa-1.2.3.1.tar.gz"
MD5SUM="1e5cecff91ccc67666c9423850b15d56"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-mtl haskell-parsec haskell-regex-base haskell-semigroups"
+REQUIRES="haskell-regex-base haskell-semigroups"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"