diff options
author | root <root@rshg047.dnsready.net> | 2011-06-24 23:06:35 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-24 23:06:35 +0000 |
commit | 71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (patch) | |
tree | 948002f901215fa91b99058ec3bfc4a51475018d /community-testing/darcs | |
parent | 7347bb994a41d021c83e97b503f577f2399302e7 (diff) |
Fri Jun 24 23:06:35 UTC 2011
Diffstat (limited to 'community-testing/darcs')
-rw-r--r-- | community-testing/darcs/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community-testing/darcs/PKGBUILD b/community-testing/darcs/PKGBUILD new file mode 100644 index 000000000..d23e917a5 --- /dev/null +++ b/community-testing/darcs/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 116991 2011-03-27 10:10:32Z remy $ +# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> +# Contributor: Simo Leone <neotuli@gmail.com> + +pkgname=darcs +pkgver=2.5.2 +pkgrel=1.1 +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') +source=("http://darcs.net/releases/$pkgname-$pkgver.tar.gz") +md5sums=('491b6ca01dec245a16112ad2c7e07dc1') + +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 +} + |