summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2015-02-24 22:27:52 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-04 07:46:55 +0700
commitb0caac93ec965b46b63b89b09ab99ddf17bf9167 (patch)
tree84bd0ab8318ace62da22f669d5697bcb771203ec
parent0447c108d01a2fb26f88e8f9c08802476e5fef5b (diff)
downloadslackbuilds-b0caac93ec965b46b63b89b09ab99ddf17bf9167.tar.gz
development/darcs: Updated for version 2.8.5.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/darcs/darcs.SlackBuild11
-rw-r--r--development/darcs/darcs.info8
2 files changed, 13 insertions, 6 deletions
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
index 772b7fafcd..ce162659e7 100644
--- a/development/darcs/darcs.SlackBuild
+++ b/development/darcs/darcs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for darcs
-# Copyright 2013 Mikko Värri, Finland
+# Copyright 2015 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=darcs
-VERSION=${VERSION:-2.8.4}
+VERSION=${VERSION:-2.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Raise a couple of upper bounds until darcs 2.10 is out
+sed -i -r \
+ -e 's/(random\s+== 1)\.0\.\*/\1.1.*/' \
+ -e 's/(terminfo == 0)\.3\.\*/\1.4.*/' \
+ -e 's/(text\s+>= 0\.11\.0\.6 && < 1)\.2/\1.3/' \
+ darcs.cabal
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \
diff --git a/development/darcs/darcs.info b/development/darcs/darcs.info
index bfb2f8e292..e243d8bb79 100644
--- a/development/darcs/darcs.info
+++ b/development/darcs/darcs.info
@@ -1,10 +1,10 @@
PRGNAM="darcs"
-VERSION="2.8.4"
+VERSION="2.8.5"
HOMEPAGE="http://darcs.net/"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/darcs/2.8.4/darcs-2.8.4.tar.gz"
-MD5SUM="7456b7957add1b04c49de1b72c137a77"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/darcs/2.8.5/darcs-2.8.5.tar.gz"
+MD5SUM="b440e9be53100bf660279ad7c0debf77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-extensible-exceptions haskell-vector haskell-random haskell-syb haskell-html haskell-tar haskell-text haskell-parsec haskell-hashed-storage haskell-haskeline haskell-network haskell-HTTP haskell-regex-compat"
+REQUIRES="haskell-utf8-string haskell-extensible-exceptions haskell-regex-compat haskell-mtl haskell-parsec haskell-html haskell-hashed-storage haskell-vector haskell-tar haskell-text haskell-random haskell-HTTP haskell-network haskell-network-uri haskell-mmap haskell-zlib"
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"