Date: Saturday, April 6, 2013 @ 01:16:11 Author: dwallace Revision: 87746
bring darcs up to date Modified: darcs/trunk/PKGBUILD ----------+ PKGBUILD | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-05 21:32:28 UTC (rev 87745) +++ PKGBUILD 2013-04-05 23:16:11 UTC (rev 87746) @@ -1,37 +1,33 @@ # $Id$ -# Maintainer: Vesa Kaihlavirta <[email protected]> +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Vesa Kaihlavirta <[email protected]> # Contributor: Simo Leone <[email protected]> pkgname=darcs -pkgver=2.5.2 -pkgrel=1.1 +pkgver=2.8.4 +pkgrel=3 pkgdesc="Decentralized replacement for CVS with roots in quantum mechanics" arch=(i686 x86_64) url="http://darcs.net/" license=('GPL') depends=('curl' 'gmp' 'ncurses>=5.6-7') -makedepends=('ghc' 'haskell-tar<0.4' 'haskell-text<0.12' - 'haskell-hashed-storage<0.6' 'haskell-haskeline<0.7' - 'haskell-html<1.1' 'haskell-parsec<3.2' 'haskell-regex-compat<0.94') +makedepends=('ghc' 'haskell-tar' 'haskell-text<0.12' + 'haskell-hashed-storage<0.6' 'haskell-haskeline' 'haskell-random' + 'haskell-vector' + 'haskell-html<1.1' 'haskell-parsec<3.2' 'haskell-regex-compat') source=("http://darcs.net/releases/$pkgname-$pkgver.tar.gz") -md5sums=('491b6ca01dec245a16112ad2c7e07dc1') +md5sums=('7456b7957add1b04c49de1b72c137a77') -build() { - cd $srcdir/$pkgname-$pkgver +build(){ + cd "$srcdir/$pkgname-$pkgver" runhaskell Setup.lhs configure --ghc -O --prefix=/usr \ --disable-library-for-ghci --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup.lhs build } -check() { - cd ${srcdir}/$pkgname-$pkgver - runhaskell Setup.lhs test -} - package() { - cd $srcdir/$pkgname-$pkgver - runhaskell Setup.lhs copy --destdir=$pkgdir - rm -r $pkgdir/usr/lib/ - chmod 755 $pkgdir/usr/share/man/man1/$pkgname.1 + cd "$srcdir/$pkgname-$pkgver" + runhaskell Setup.lhs copy --destdir="$pkgdir" + rm -r "$pkgdir/usr/lib/" + chmod 755 "$pkgdir/usr/share/man/man1/$pkgname.1" } -
