aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 11:00:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:49 +0700
commitb7d91785131f7ce0e53c8f4bdcd934fad0d0ec60 (patch)
tree3b7acc2a2b0a71693eac3d47d7e3c159f1024d65
parent18b023fc061ea3af7102cd06073f7618a0cbc7a9 (diff)
haskell/haskell-tagsoup: Updated for version 0.14.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild19
-rw-r--r--haskell/haskell-tagsoup/haskell-tagsoup.info14
-rw-r--r--haskell/haskell-tagsoup/slack-desc2
3 files changed, 18 insertions, 17 deletions
diff --git a/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild b/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
index b085671dabdb9..3468f388e6e43 100644
--- a/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
+++ b/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
@@ -1,9 +1,10 @@
#!/bin/sh
-# Slackware build script for tagsoup
+# Slackware build script for haskell-tagsoup
# Written by Peter Wang (novalazy@gmail.com)
# Copyright 2015 Mikko Värri, Finland
+# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-tagsoup
-VERSION=${VERSION:-0.13.10}
+VERSION=${VERSION:-0.14.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,7 +35,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
@@ -45,8 +46,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"
@@ -69,10 +70,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/haskell/haskell-tagsoup/haskell-tagsoup.info b/haskell/haskell-tagsoup/haskell-tagsoup.info
index 16e7edd1a309a..5a7b32203d0ce 100644
--- a/haskell/haskell-tagsoup/haskell-tagsoup.info
+++ b/haskell/haskell-tagsoup/haskell-tagsoup.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-tagsoup"
-VERSION="0.13.10"
-HOMEPAGE="http://hackage.haskell.org/package/tagsoup"
-DOWNLOAD="http://hackage.haskell.org/package/tagsoup-0.13.10/tagsoup-0.13.10.tar.gz"
-MD5SUM="dc108534c5ef8b3538918caf2ed0ad54"
+VERSION="0.14.7"
+HOMEPAGE="https://hackage.haskell.org/package/tagsoup"
+DOWNLOAD="https://hackage.haskell.org/package/tagsoup-0.14.7/tagsoup-0.14.7.tar.gz"
+MD5SUM="0684bc0c836ba0c169f35096169b3989"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-text"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+REQUIRES="ghc"
+MAINTAINER="David Spencer"
+EMAIL="baildon.research@googlemail.com"
diff --git a/haskell/haskell-tagsoup/slack-desc b/haskell/haskell-tagsoup/slack-desc
index 69af6e29428f7..11f3de02e5e3a 100644
--- a/haskell/haskell-tagsoup/slack-desc
+++ b/haskell/haskell-tagsoup/slack-desc
@@ -14,6 +14,6 @@ haskell-tagsoup: or unstructured and malformed HTML from the web. The library al
haskell-tagsoup: provides useful functions to extract information from an HTML
haskell-tagsoup: document, making it ideal for screen-scraping.
haskell-tagsoup:
-haskell-tagsoup: Homepage: http://hackage.haskell.org/package/tagsoup
+haskell-tagsoup: Homepage: https://hackage.haskell.org/package/tagsoup
haskell-tagsoup:
haskell-tagsoup: