updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / react / PKGBUILD
blob6ea27d25e09cce1da1df78b9f12b0dba88e2d8d4
1 #Contributor: p2k <Patrick.Schneider@uni-ulm.de>
2 pkgname=react
3 pkgver=0.9.0
4 pkgrel=3
5 pkgdesc="An OCaml module for functional reactive programming"
6 arch=('i686' 'x86_64')
7 url="http://erratique.ch/software/react"
8 license=('BSD')
9 depends=('ocaml>=3.11.0' 'ocaml-findlib')
10 source=(http://erratique.ch/software/$pkgname/releases/$pkgname-$pkgver.tbz react.diff)
11 md5sums=('193a64a2abb0eebc6a88c19fba18ca85'
12          'f12b2c4038808ee2396ec7b33d4161a9')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   
17   patch -Np0 < $srcdir/react.diff
19   ./build || return 1
20   INSTALLDIR="$pkgdir/usr/lib/ocaml/site-lib/react" ./build install