aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-filemanip
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 10:57:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:22 +0700
commit2aa3a3478ddc58fac6de51e2bb1ba7f26fcf8ffc (patch)
tree532bcdb0ba1e6060751c885d85ff4270a01871a4 /haskell/haskell-filemanip
parentf2305443e0ed80a2f9f5329812126fbda5edb9d7 (diff)
haskell/haskell-filemanip: Updated for version 0.3.6.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-filemanip')
-rw-r--r--haskell/haskell-filemanip/haskell-filemanip.SlackBuild10
-rw-r--r--haskell/haskell-filemanip/haskell-filemanip.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/haskell/haskell-filemanip/haskell-filemanip.SlackBuild b/haskell/haskell-filemanip/haskell-filemanip.SlackBuild
index 49a609ecb9b52..c962c928451eb 100644
--- a/haskell/haskell-filemanip/haskell-filemanip.SlackBuild
+++ b/haskell/haskell-filemanip/haskell-filemanip.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
diff --git a/haskell/haskell-filemanip/haskell-filemanip.info b/haskell/haskell-filemanip/haskell-filemanip.info
index 09d41e2495644..e8fb9026be4ab 100644
--- a/haskell/haskell-filemanip/haskell-filemanip.info
+++ b/haskell/haskell-filemanip/haskell-filemanip.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-filemanip"
VERSION="0.3.6.3"
-HOMEPAGE="http://hackage.haskell.org/package/filemanip"
-DOWNLOAD="http://hackage.haskell.org/package/filemanip-0.3.6.3/filemanip-0.3.6.3.tar.gz"
+HOMEPAGE="https://hackage.haskell.org/package/filemanip"
+DOWNLOAD="https://hackage.haskell.org/package/filemanip-0.3.6.3/filemanip-0.3.6.3.tar.gz"
MD5SUM="04d23467ce2e7ac0bc9c01c4e0ebd06c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ghc haskell-mtl haskell-unix-compat"
+REQUIRES="haskell-unix-compat"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"