1 # Maintainer: Yoel Lion <yoel3ster at gmail dot com>
2 # Last Maintainer: realitygaps <realitygaps@yahoo.com>
7 pkgdesc="PythonCard is a GUI construction kit for building cross-platform desktop applications on Windows, Mac OS X, and Linux, using the Python language."
8 url="http://pythoncard.sourceforge.net/"
10 arch=('i686' 'x86_64')
12 source=(http://prdownloads.sourceforge.net/sourceforge/$libname/PythonCard-$pkgver.tar.gz)
13 md5sums=('109913b19baba90aff5c95949e5aa1ff')
16 cd $srcdir/PythonCard-$pkgver
17 python2 setup.py install --root=$pkgdir
18 rm $pkgdir/usr/bin/install-pythoncard.py
19 echo "#!/bin/bash" > $pkgdir/usr/bin/codeEditor
20 echo "python2 /usr/lib/python2.7/site-packages/PythonCard/tools/codeEditor/codeEditor.py" > $pkgdir/usr/bin/codeEditor
21 chmod +x $pkgdir/usr/bin/codeEditor
22 echo "PythonCard" > $pkgdir/usr/lib/python2.7/site-packages/$libname.pth