diff options
Diffstat (limited to 'development/darcs/darcs.SlackBuild')
-rw-r--r-- | development/darcs/darcs.SlackBuild | 15 |
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 |