mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 52503 2009-09-21 05:59:07Z vesa $
|
||
|
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
|
||
|
# Contributor: Simo Leone <neotuli@gmail.com>
|
||
|
|
||
|
pkgname=darcs
|
||
|
pkgver=2.3.1
|
||
|
pkgrel=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-hashed-storage' 'haskell-haskeline')
|
||
|
#install=darcs.install
|
||
|
source=("http://darcs.net/releases/$pkgname-$pkgver.tar.gz")
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
runhaskell Setup.lhs configure --ghc --prefix=/usr \
|
||
|
--disable-library-for-ghci --libsubdir=\$compiler/site-local/\$pkgid || return 1
|
||
|
|
||
|
runhaskell Setup.lhs build || return 1
|
||
|
|
||
|
#runhaskell Setup.lhs register --gen-script
|
||
|
#runhaskell Setup.lhs unregister --gen-script
|
||
|
|
||
|
#install -D -m744 register.sh $startdir/pkg/usr/share/haskell/$pkgname/register.sh
|
||
|
#install -m744 unregister.sh $startdir/pkg/usr/share/haskell/$pkgname/unregister.sh
|
||
|
runhaskell Setup.lhs copy --destdir=$startdir/pkg
|
||
|
rm -r $startdir/pkg/usr/lib/
|
||
|
}
|
||
|
md5sums=('376e58a09da2c1e5c881eaaa3df455a1')
|