SHARE
TWEET

Untitled

a guest Mar 18th, 2013 33 Never
  1. pkgname=python2-rpy2
  2. pkgver=2.3.0
  3. pkgrel=1
  4. pkgdesc="A simple, robust Python interface to the R Programming Language."
  5. arch=('i686' 'x86_64')
  6. url="http://rpy.sourceforge.net/"
  7. license=('MPL' 'GPL' 'LGPL')
  8. depends=('python2-numpy' 'r')
  9. source=("http://pypi.python.org/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
  10. md5sums=('ad140fc1a1280cf394e4d8dedbcfaaba')
  11.  
  12. package() {
  13.   cd "$srcdir/rpy2-$pkgver"
  14.   python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  15.  
  16.   mkdir -p "$pkgdir/etc/ld.so.conf.d"
  17.   echo /usr/lib/R/lib > "$pkgdir/etc/ld.so.conf.d/rpy2-python2.conf"
  18. }
RAW Paste Data
Top