aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 11:01:43 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:56 +0700
commit7d172e825fdba62ae8ddedaa7df24bda444e7f34 (patch)
treebe0a656e9e13de347b7c5a34701c6377c2627fe5 /haskell
parent710da8d68af9a51a5343f9203d9c303bebdf3ef7 (diff)
haskell/haskell-wl-pprint-text: Updated for version 1.2.0.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild12
-rw-r--r--haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info10
2 files changed, 10 insertions, 12 deletions
diff --git a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild
index 6bf500059c74..e173d85468f0 100644
--- a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild
+++ b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-wl-pprint-text
-VERSION=${VERSION:-1.1.1.1}
+VERSION=${VERSION:-1.2.0.0}
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 \
- 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-wl-pprint-text/haskell-wl-pprint-text.info b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info
index a9a81bf40f05..c8d4ae8880be 100644
--- a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info
+++ b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-wl-pprint-text"
-VERSION="1.1.1.1"
-HOMEPAGE="http://hackage.haskell.org/package/wl-pprint-text"
-DOWNLOAD="http://hackage.haskell.org/package/wl-pprint-text-1.1.1.1/wl-pprint-text-1.1.1.1.tar.gz"
-MD5SUM="18efecd76c5b42111f2fd90c649caf05"
+VERSION="1.2.0.0"
+HOMEPAGE="https://hackage.haskell.org/package/wl-pprint-text"
+DOWNLOAD="https://hackage.haskell.org/package/wl-pprint-text-1.2.0.0/wl-pprint-text-1.2.0.0.tar.gz"
+MD5SUM="30ee1330f215d5549419677b8ddf3a98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ghc haskell-text haskell-base-compat"
+REQUIRES="haskell-base-compat"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"