Want more features on Pastebin? Sign Up, it's FREE!
Guest

python2-pysundials 2.3.0_rc4 PKGBUILD

By: a guest on Mar 27th, 2013  |  syntax: Bash  |  size: 0.93 KB  |  views: 27  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Michael Schubert <mschu.dev at gmail>
  2.  
  3. pkgname=python2-pysundials
  4. _pkgname=pysundials
  5. pkgver=2.3.0_rc4
  6. _pkgver=2.3.0-rc4
  7. pkgrel=1
  8. pkgdesc="A module containing python wrappers for the SUite of Non-linear DIfferential/ALgebraic Solvers (SUNDIALS)"
  9. arch=('i686' 'x86_64')
  10. depends=('python2' 'sundials23')
  11. url="http://pysundials.sourceforge.net/"
  12. license=('BSD')
  13. source=("http://downloads.sourceforge.net/project/pysundials/$_pkgname-2.3.0/$_pkgname-$_pkgver/$_pkgname-$_pkgver.tar.gz" "config")
  14. md5sums=('2e243e704cbe72803b62b4e87c72cf47' '880551f9fba1d77db7e5a3f7f77f7e69')
  15.  
  16. build() {
  17.   cd "$srcdir/$_pkgname-$_pkgver"
  18.   python2 setup.py build
  19. }
  20.  
  21. package() {
  22.   cd "$srcdir/$_pkgname-$_pkgver"
  23.   python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
  24.   pydir=`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
  25.   install -Dm644 ../config "$pkgdir/$pydir/$_pkgname/config"
  26. }
clone this paste RAW Paste Data