updated on Mon Jan 9 04:00:41 UTC 2012
[aur-mirror.git] / r-patched / PKGBUILD
blob51287d0f81c24f0d2bfd0bebaa959bef0f427f28
1 # Contributor: antzek9 <antze.k9 at googlemail dot com>
2 # Maintainer: antzek9
3 pkgname=r-patched
4 pkgver=2.11.1
5 pkgrel=2
6 arch=(i686 x86_64)
7 pkgdesc="Some patches to improve the speed of R. Some of these speed up 
8 particula functions; some reduce general interpretive overhead. The 
9 total speed improvement is substantial (speedups of 25% can be 
10 expected)."
11 url="http://www.cs.toronto.edu/~radford/R-mods.html"
12 license=('GPL')
13 groups=()
14 depends=()
15 makedepends=('gcc-fortran')
16 provides=('r')
17 conflicts=('r')
18 replaces=()
19 backup=()
20 options=()
21 install=
22 source=("http://mirrors.softliste.de/cran/src/base/R-2/R-2.11.1.tar.gz" 
23 "http://www.cs.toronto.edu/~radford/speed-patches.tar")
24 noextract=()
25 md5sums=('7421108ade3e9223263394b9bbe277ce' 
26 'b0c0a38a4f9f471589560f59b79fc75b')
28 build() {
29   cd "$srcdir/R-$pkgver"
31   echo "Applying speed up patches"
32   ../speed-patches/apply-patches ../speed-patches/patch-*
34   ./configure --prefix=/usr
35   make || return 1
36   make DESTDIR="$pkgdir" install