summaryrefslogtreecommitdiffstats
path: root/development/darcs
diff options
context:
space:
mode:
author David Spencer2016-05-09 12:44:23 +0200
committer Willy Sudiarto Raharjo2016-05-10 22:17:21 +0200
commit2f0ebd4735c0586a2a01162ab914429fd5d34b8c (patch)
treebcbc5af01b70ddb726a15bb5c73883d58ac636e0 /development/darcs
parent9fe7642952805e96995c110c24861b23e8a09252 (diff)
downloadslackbuilds-2f0ebd4735c0586a2a01162ab914429fd5d34b8c.tar.gz
development/darcs: Updated for version 2.12.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'development/darcs')
-rw-r--r--development/darcs/darcs.SlackBuild15
-rw-r--r--development/darcs/darcs.info8
2 files changed, 9 insertions, 14 deletions
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
index ce162659e7..f58f868eeb 100644
--- a/development/darcs/darcs.SlackBuild
+++ b/development/darcs/darcs.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=darcs
-VERSION=${VERSION:-2.8.5}
+VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,13 +71,6 @@ 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 \
@@ -88,7 +81,7 @@ runghc Setup configure \
--enable-library-profiling \
--enable-executable-dynamic \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --flags="-curl http mmap terminfo"
+ --flags="-curl http network-uri mmap terminfo"
runghc Setup build
runghc Setup haddock
@@ -111,7 +104,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG COPYING 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/development/darcs/darcs.info b/development/darcs/darcs.info
index e243d8bb79..9089b8c580 100644
--- a/development/darcs/darcs.info
+++ b/development/darcs/darcs.info
@@ -1,10 +1,10 @@
PRGNAM="darcs"
-VERSION="2.8.5"
+VERSION="2.12.0"
HOMEPAGE="http://darcs.net/"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/darcs/2.8.5/darcs-2.8.5.tar.gz"
-MD5SUM="b440e9be53100bf660279ad7c0debf77"
+DOWNLOAD="http://hackage.haskell.org/package/darcs-2.12.0/darcs-2.12.0.tar.gz"
+MD5SUM="c46f4ad16f944f34377e066775adf1be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-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"
+REQUIRES="ghc haskell-async haskell-attoparsec haskell-base16-bytestring haskell-cryptohash haskell-data-ordlist haskell-fgl haskell-graphviz haskell-hashable haskell-html haskell-HTTP haskell-mmap haskell-mtl haskell-network haskell-network-uri haskell-old-time haskell-parsec haskell-random haskell-regex-applicative haskell-regex-compat-tdfa haskell-sandi haskell-tar haskell-text haskell-transformers-compat haskell-unix-compat haskell-utf8-string haskell-vector haskell-zip-archive haskell-zlib haskell-old-locale"
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"