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

PKGBUILD

By: a guest on Dec 6th, 2011  |  syntax: Bash  |  size: 0.84 KB  |  views: 21  |  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. # Contributor: Dmitriy Morozov <archlinux@foxcub.org>
  2. pkgname=lunatic-python
  3. pkgver=1.0
  4. pkgrel=2
  5. pkgdesc="Bidirectional Lua-Python bridge."
  6. url="http://labix.org/lunatic-python"
  7. arch=('i686' 'x86_64')
  8. license="GPL"
  9. depends=('python2' 'lua')
  10. source=(http://labix.org/download/$pkgname/$pkgname-$pkgver.tar.bz2 setup.patch lua5.1.patch python.patch)
  11.  
  12. build()
  13. {
  14.     cd "$srcdir"/$pkgname-$pkgver
  15.     patch setup.py < "$srcdir"/setup.patch || return 1
  16.     patch -p1 < "$srcdir"/lua5.1.patch || return 1
  17.     patch -p1 < "$srcdir"/python.patch || return 1
  18.     python2 setup.py build || return 1
  19.     python2 setup.py install --prefix="$pkgdir"/usr || return 1
  20. }
  21. md5sums=('4044274f14e57f26384e2f9cfc348f30'
  22.          '89a5c14cb21eff582654d42cb7080c69'
  23.          'f5a7d850814546e9d290f5bfcb9b9adc'
  24.          'ea95d65a63c938dba58c3a5e64c7e340')
  25.  
clone this paste RAW Paste Data