Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

kivy 1.5.1 pkgbuild

By: a guest on Jan 22nd, 2013  |  syntax: Bash  |  size: 1.03 KB  |  views: 43  |  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: speps <speps at aur dot archlinux dot org>
  2.  
  3. pkgname=kivy
  4. pkgver=1.5.1
  5. pkgrel=1
  6. pkgdesc="A python module for developing multi-touch enabled media rich applications."
  7. arch=(i686 x86_64)
  8. url="http://kivy.org/"
  9. license=('LGPL')
  10. depends=('python2-pygame' 'python2-opengl' 'python2-imaging'
  11.          'gstreamer0.10-python' 'cython2' 'mtdev')
  12. optdepends=('twisted: networking framework integration')
  13. source=("http://pypi.python.org/packages/source/K/Kivy/Kivy-$pkgver.tar.gz")
  14.         # "https://github.com/kivy/kivy/commit/5f0a2c4504114f6e95097c048887363af0e7738c.patch")
  15. md5sums=('d1027cb7e4b73328201dd80110283089')
  16.          # '3e26d8b0c774743f1c1e1ea823e45cfc')
  17.  
  18. build() {
  19.   cd "$srcdir/Kivy-$pkgver"
  20.  
  21.   # cython 0.17.2 temporary fix
  22.   # patch -p1 -i "$srcdir/${source[1]##*/}"
  23.  
  24.   python2 setup.py build
  25. }
  26.  
  27. package() {
  28.   cd "$srcdir/Kivy-$pkgver"
  29.   python2 setup.py install --root="$pkgdir"
  30.  
  31.   # python2 fixes
  32.   sed -i "s/\#\!.*python/&2/" \
  33.     `grep -rl "\#\!.*python" "$pkgdir"`
  34. }
  35.  
  36. # vim:set ts=2 sw=2 et: