summaryrefslogtreecommitdiff
path: root/haskell/haskell-multipart
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 10:59:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:35 +0700
commit0e03722e86a771d4b3956e7c0870ccfed97c97b0 (patch)
treec828ae1af3a753fd5494b9f5de49b9e13a670e08 /haskell/haskell-multipart
parentf16cdcae9c8bf4ad14fe261bea6802aaa303950b (diff)
downloadslackbuilds-0e03722e86a771d4b3956e7c0870ccfed97c97b0.tar.gz
haskell/haskell-multipart: Updated for version 0.1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-multipart')
-rw-r--r--haskell/haskell-multipart/haskell-multipart.SlackBuild12
-rw-r--r--haskell/haskell-multipart/haskell-multipart.info10
2 files changed, 10 insertions, 12 deletions
diff --git a/haskell/haskell-multipart/haskell-multipart.SlackBuild b/haskell/haskell-multipart/haskell-multipart.SlackBuild
index 62ec4fd039..c14f9844f0 100644
--- a/haskell/haskell-multipart/haskell-multipart.SlackBuild
+++ b/haskell/haskell-multipart/haskell-multipart.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-multipart
-VERSION=${VERSION:-0.1.2}
+VERSION=${VERSION:-0.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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 README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md LICENSE README.md $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-multipart/haskell-multipart.info b/haskell/haskell-multipart/haskell-multipart.info
index 0c7cc25a5a..fc127ba69d 100644
--- a/haskell/haskell-multipart/haskell-multipart.info
+++ b/haskell/haskell-multipart/haskell-multipart.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-multipart"
-VERSION="0.1.2"
-HOMEPAGE="http://hackage.haskell.org/package/multipart"
-DOWNLOAD="http://hackage.haskell.org/package/multipart-0.1.2/multipart-0.1.2.tar.gz"
-MD5SUM="375aa366fb2aca34a264d41df1292a87"
+VERSION="0.1.3"
+HOMEPAGE="https://hackage.haskell.org/package/multipart"
+DOWNLOAD="https://hackage.haskell.org/package/multipart-0.1.3/multipart-0.1.3.tar.gz"
+MD5SUM="daaab86476d1ff58329ae31612e9cefc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ghc haskell-parsec"
+REQUIRES="haskell-stringsearch"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"