summaryrefslogtreecommitdiff
path: root/development/darcs/darcs.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-09 11:44:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-11 03:17:21 +0700
commit2f0ebd4735c0586a2a01162ab914429fd5d34b8c (patch)
treebcbc5af01b70ddb726a15bb5c73883d58ac636e0 /development/darcs/darcs.SlackBuild
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/darcs.SlackBuild')
-rw-r--r--development/darcs/darcs.SlackBuild15
1 files changed, 5 insertions, 10 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