Advertisement
Guest User

python3-kivi1.8.0

a guest
Feb 18th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.00 KB | None | 0 0
  1. # Maintainer: speps <speps at aur dot archlinux dot org>
  2.  
  3. pkgname=kivy
  4. pkgver=1.8.0
  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=('python-opengl' 'cython' 'cython2' 'python-pyenchant' 'gst-python'
  11.      'gstreamer0.10-python' 'python-pygments')
  12. optdepends=('opencv: Camera input'
  13.         'twisted: networking framework integration'
  14.            )
  15. source=("http://pypi.python.org/packages/source/K/Kivy/Kivy-$pkgver.tar.gz")
  16. md5sums=('fc36e08e0cd903a249dca957bdf1e2b0')
  17.  
  18. build() {
  19.   cd "$srcdir/Kivy-$pkgver"
  20.   python3 setup.py build
  21. }
  22.  
  23. package() {
  24.   cd "$srcdir/Kivy-$pkgver"
  25.   python3 setup.py install --root="$pkgdir"
  26.  
  27.   # rename the garden utility to prevent
  28.   # conflicts with the garder game
  29.   #mv "$pkgdir/usr/bin/garden" "$pkgdir/usr/bin/kivy-garden"
  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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement