1 # Maintainer: Shacristo <Shacristo at gmail dot com>
2 # Contributor: Jáchym Barvínek <jachymb@gmail.com>
6 pkgdesc="An easy to use mathematical function graph plotter written in Python and GTK."
8 url="http://sourceforge.net/projects/lybniz2/"
10 depends=('python2' 'pygtk')
11 source=(http://switch.dl.sourceforge.net/sourceforge/${pkgname}2/$pkgname-$pkgver.tar.gz)
12 md5sums=('0effc8eba87cfa3514ec54157e7f9815')
15 cd "$srcdir/$pkgname-$pkgver"
16 sed -i -e 's/\/usr\/bin\/env python/\/usr\/bin\/env python2/' "setup.py"
21 cd "$srcdir/$pkgname-$pkgver"
22 ./setup.py install --root=$pkgdir/
23 sed -i -e 's/\/usr\/bin\/env python/\/usr\/bin\/env python2/' "$pkgdir/usr/bin/lybniz.py"
24 mv "$pkgdir/usr/bin/lybniz.py" "$pkgdir/usr/bin/lybniz"
27 # vim:set ts=2 sw=2 et: