1 # Contributor: Connor Behan <connor.behan@gmail.com>
6 pkgdesc="Python Integrated Development Application"
8 url="http://pida.co.uk/"
10 depends=('vte' 'python-simplejson' 'pygtkhelpers-hg' 'dbus-python' 'python2-argparse' 'python2-logbook' 'python-notify' 'python2-py')
11 makedepends=('mercurial' 'python2-distribute')
12 optdepends=('anyvc: version control integration')
15 source=(pida.desktop nodrm.diff)
16 install=(pida.install)
17 # Do you get 404 errors if you use the standard "_hgroot" and "_hgrepo"?
18 __hgroot=http://bitbucket.org/aafshar/pida-main
24 msg "Connecting to $__hgroot"
25 if [ -d $__hgrepo ]; then
27 hg pull -u || return 1
28 msg2 "Finished updating the local repository!"
30 hg clone $__hgroot $__hgrepo || return 1
31 msg2 "Initial pull complete!"
34 rm -rf ${srcdir}/${__hgrepo}-build
35 cp -a ${srcdir}/${__hgrepo} ${srcdir}/${__hgrepo}-build || return 1
36 cd ${srcdir}/${__hgrepo}-build
38 patch -Np1 -i $srcdir/nodrm.diff || return 1
39 python2 setup.py install --root=$startdir/pkg/ --prefix=/usr
41 install -Dm644 COPYING \
42 $startdir/pkg/usr/share/licenses/pida/LICENSE
44 install -Dm644 pida/resources/pixmaps/pida-icon.png \
45 $startdir/pkg/usr/share/pixmaps/pida.png
46 install -Dm644 $startdir/src/pida.desktop \
47 $startdir/pkg/usr/share/applications/pida.desktop
49 md5sums=('0216466cf5f64238c90b5e07df71ce3a' '479c24a04069112f610667f9746011d4')