updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / lybniz / PKGBUILD
blob432fa5bf4117510e4f5f763913d8a305eb8f9b70
1 # Maintainer: Shacristo <Shacristo at gmail dot com>
2 # Contributor: Jáchym Barvínek <jachymb@gmail.com>
3 pkgname=lybniz
4 pkgver=1.3.2
5 pkgrel=2
6 pkgdesc="An easy to use mathematical function graph plotter written in Python and GTK."
7 arch=(any)
8 url="http://sourceforge.net/projects/lybniz2/"
9 license=('BSD')
10 depends=('python2' 'pygtk')
11 source=(http://switch.dl.sourceforge.net/sourceforge/${pkgname}2/$pkgname-$pkgver.tar.gz)
12 md5sums=('0effc8eba87cfa3514ec54157e7f9815')
14 build() {
15         cd "$srcdir/$pkgname-$pkgver"
16         sed -i -e 's/\/usr\/bin\/env python/\/usr\/bin\/env python2/' "setup.py"
17         ./setup.py build
20 package() {
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: