development/darcs: Updated for version 2.12.0.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2016-05-09 11:44:23 +01:00 committed by Willy Sudiarto Raharjo
parent 9fe7642952
commit 2f0ebd4735
2 changed files with 9 additions and 14 deletions

View file

@ -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

View file

@ -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"